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 704B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # dd2 monitoring
  3. #
  4. # build the core functions, use with care
  5. #
  6. COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
  7. OBJS = lut1024f.o parseconf.o utils.o sysmetrics.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 $(COPT) -c $<
  15. parseconf.o: parseconf.c config.h ${DEPS}
  16. gcc $(COPT) -c $<
  17. utils.o: utils.c utils.h ${DEPS}
  18. gcc $(COPT) -c $<
  19. sysmetrics.o: sysmetrics.c ${DEPS}
  20. gcc $(COPT) -c $<
  21. # ---------------------------------------------------
  22. t: t.c ${ALIB} lut1024.h config.h utils.h ${DEPS}
  23. gcc -Wall $< ${ALIB} -o $@
  24. foo.lut1024f: mklut.pl Makefile
  25. ./mklut.pl quux > $@