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

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. OBJS = essai.o terminal.o
  8. all: essai
  9. # -------------------------------------------------------
  10. OSERIAL = serial/serial.o serial/funcs.o
  11. essai.o: essai.c Makefile
  12. $(CC) ${CCOPT} $< -c
  13. essai: ${OBJS} Makefile $(CLIB) ${OSERIAL}
  14. $(CC) ${CCOPT} $< $(CLIB) ${OSERIAL} -lncurses -o $@
  15. fake-values: fake-values.c Makefile $(CLIB)
  16. $(CC) ${CCOPT} $< $(CLIB) -o $@
  17. # -------------------------------------------------------