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

12345678910111213141516171819
  1. # ---------------------------------------------------
  2. # May be we have to put those objs in a .a ?
  3. OPT = -Wall -DDEBUG_LEVEL=1
  4. OBJS = serial.o funcs.o
  5. # ---------------------------------------------------
  6. serial.o: serial.c serial.h Makefile
  7. gcc ${OPT} -c $<
  8. funcs.o: funcs.c serial.h Makefile
  9. gcc ${OPT} -c $<
  10. # ---------------------------------------------------
  11. t: t.c Makefile ${OBJS}
  12. gcc ${OPT} $< ${OBJS} -lncurses -o $@
  13. # ---------------------------------------------------