]> git.somenet.org - pub/jan/parprog.git/blob - sharing/Makefile
moved merge todos to merge dir
[pub/jan/parprog.git] / sharing / Makefile
1 # TODO: JAN KENNT SICH HIER NICHT GUT GENUG AUS, UM IRGENDWAS ZU CODEN
2
3 # GCC Makefile
4
5 CC      = gcc
6 CFLAGS  = -pedantic -Wall -g -fopenmp -O0
7 LDFLAGS = -fopenmp
8
9 BINARIES = sharing
10 OBJECTS  = $(BINARIES).o
11
12 all: sharing
13
14 sharing: sharing.o
15         $(CC) -o $@ $? $(LDFLAGS)
16
17 %.o: %.c
18         $(CC) $(CFLAGS) -c $<
19
20 .PHONY: clean
21 clean:
22         rm -rf $(OBJECTS) $(BINARIES)