]> git.somenet.org - pub/astra/parallel.git/blob - scan/Makefile
add a todo file :)
[pub/astra/parallel.git] / scan / Makefile
1 # GCC Makefile
2
3 CC      = mpicc
4 CFLAGS  = -pedantic -Wall -ggdb -fopenmp --std=c99 -O3 ${MYFLAGS}
5 LDFLAGS = -fopenmp
6
7 all: build/scan
8
9 build/scan: build/scan.o
10         $(CC) -o $@ $? $(LDFLAGS)
11
12 build/%.o: %.c mkdir
13         $(CC) $(CFLAGS) -c $< -o $@
14
15 mkdir:
16         mkdir -p build
17
18 .PHONY: clean
19 clean:
20         rm -rf build