Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
345 B

10 years ago
  1. CFLAGS = --std=c11 -Wall -O3
  2. show_tree : process_dir.h process_dir.c show_tree.c
  3. $(CC) $(CFLAGS) process_dir.c $@.c -o $@
  4. simple_cplx : cplx.h complex.c simple_cplx.c
  5. $(CC) `pkg-config --cflags --libs gsl` $(CFLAGS) complex.c $@.c -o $@
  6. .PHONY : all
  7. all : show_tree simple_cplx
  8. .PHONY : clean
  9. clean :
  10. rm -f show_tree
  11. rm -f simple_cplx