|
|
@ -1,20 +1,18 @@ |
|
|
|
CFLAGS = -Wall -O3 --std=c11 |
|
|
|
|
|
|
|
|
|
|
|
boxes : boxes.c |
|
|
|
$(CC) $(CFLAGS) $@.c -o $@ |
|
|
|
|
|
|
|
show_tree : process_dir.h process_dir.c show_tree.c |
|
|
|
$(CC) $(CFLAGS) process_dir.c $@.c -o $@ |
|
|
|
|
|
|
|
simple_cplx : cplx.h complex.c simple_cplx.c |
|
|
|
$(CC) `pkg-config --cflags --libs gsl` $(CFLAGS) complex.c $@.c -o $@ |
|
|
|
|
|
|
|
seamlessone : seamlessone.c |
|
|
|
$(CC) $(CFLAGS) -fms-extensions -Wno-microsoft $@.c -o $@ |
|
|
|
|
|
|
|
seamlesstwo : seamlesstwo.c |
|
|
|
$(CC) $(CFLAGS) -fms-extensions -Wno-microsoft $@.c -o $@ |
|
|
|
|
|
|
|
|
|
|
|
.PHONY : all |
|
|
|
all : boxes show_tree simple_cplx |
|
|
|
all : simple_cplx seamlessone seamlesstwo |
|
|
|
|
|
|
|
.PHONY : check |
|
|
|
check : *.h *.c |
|
|
@ -22,8 +20,7 @@ check : *.h *.c |
|
|
|
|
|
|
|
.PHONY : clean |
|
|
|
clean : |
|
|
|
rm -f boxes |
|
|
|
rm -f show_tree |
|
|
|
rm -f simple_cplx |
|
|
|
rm -f seamlessone |
|
|
|
rm -f seamlesstwo |
|
|
|
rm -rf *.dSYM |