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

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