Monitoring du Phytotron
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.

Makefile 628B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # dd2 monitoring
  3. #
  4. # buil the core functions, use with care
  5. #
  6. COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
  7. OBJS = lut1024f.o parseconf.o utils.o
  8. DEPS = Makefile
  9. ALIB = libdd2m-core.a
  10. # ---------------------------------------------------
  11. ${ALIB}: ${OBJS}
  12. ar r $@ $?
  13. lut1024f.o: lut1024f.c lut1024.h ${DEPS}
  14. gcc -Wall -c $<
  15. parseconf.o: parseconf.c config.h ${DEPS}
  16. gcc -Wall -c $<
  17. utils.o: utils.c utils.h ${DEPS}
  18. gcc -Wall -c $<
  19. # ---------------------------------------------------
  20. t: t.c ${ALIB} lut1024.h config.h utils.h ${DEPS}
  21. gcc -Wall $< ${ALIB} -o $@
  22. foo.lut1024f: mklut.pl Makefile
  23. ./mklut.pl quux > $@