]> git.somenet.org - pub/astra/parallel.git/blob - merge/Makefile
getopt fix: will now fail when reading more than $file.size from $file.
[pub/astra/parallel.git] / merge / Makefile
1 # GCC Makefile
2
3 CC      = gcc
4 CFLAGS  = -pedantic -Wall -g -fopenmp -O0 --std=c99 -D_XOPEN_SOURCE
5 LDFLAGS = -fopenmp
6
7 BINARIES = sort
8 OBJECTS  = $(BINARIES).o
9
10 all: sort
11
12 sort: sort.o numlist.o
13         $(CC) -o $@ $? $(LDFLAGS)
14
15 %.o: %.c
16         $(CC) $(CFLAGS) -c $<
17
18 .PHONY: clean
19 clean:
20         rm -rf $(OBJECTS) $(BINARIES) numlist.o