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

1234567891011121314151617181920212223242526272829
  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 audio/player.o
  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) \
  15. -lncurses -lao -lsndfile -o $@
  16. fake-values: fake-values.c Makefile $(CLIB)
  17. $(CC) ${CCOPT} $< $(CLIB) -o $@
  18. # -------------------------------------------------------