Browse Source

add Makefile

master
T. Meissner 10 years ago
parent
commit
3865f438d3
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      21st_century_c/Makefile

+ 17
- 0
21st_century_c/Makefile View File

@ -0,0 +1,17 @@
CFLAGS = --std=c11 -Wall -O3
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 $@
.PHONY : all
all : show_tree simple_cplx
.PHONY : clean
clean :
rm -f show_tree
rm -f simple_cplx

Loading…
Cancel
Save