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

12345678910111213141516171819202122232425262728
  1. #########################################################
  2. # MAIN PROGGY
  3. # must be run with gnu make
  4. #
  5. CC = gcc
  6. CCOPT = -Wall -g
  7. CLIB = core/libdd2m-core.a viz/libdd2m-viz.a
  8. all: essai
  9. # -------------------------------------------------------
  10. OSERIAL = serial/serial.o serial/funcs.o ui/terminal.o
  11. essai.o: essai.c Makefile
  12. $(CC) ${CCOPT} $< -c
  13. essai: essai.o Makefile $(CLIB) ${OSERIAL}
  14. $(CC) ${CCOPT} $< ${OSERIAL} $(CLIB) -lncurses -o $@
  15. fake-values: fake-values.c Makefile $(CLIB)
  16. $(CC) ${CCOPT} $< $(CLIB) -o $@
  17. # -------------------------------------------------------