DD2-monitor/Makefile

27 lines
511 B
Makefile
Raw Normal View History

2018-12-06 02:38:03 +11:00
#
# must be run with gnu make
#
2019-01-27 23:15:33 +11:00
CC = gcc
CCOPT = -Wall -g
2019-01-31 05:14:40 +11:00
CLIB = core/libdd2m-core.a viz/libdd2m-viz.a
all: essai
# -------------------------------------------------------
2018-12-08 23:02:24 +11:00
OSERIAL = serial/serial.o serial/funcs.o
2019-03-28 22:04:40 +11:00
essai.o: essai.c Makefile
$(CC) ${CCOPT} $< -c
2019-05-15 06:08:53 +11:00
essai: essai.o Makefile $(CLIB) ${OSERIAL}
$(CC) ${CCOPT} $< $(CLIB) ${OSERIAL} -lncurses -o $@
2018-12-08 23:02:24 +11:00
2019-01-27 23:15:33 +11:00
fake-values: fake-values.c Makefile $(CLIB)
$(CC) ${CCOPT} $< $(CLIB) -o $@
2018-12-06 02:38:03 +11:00
# -------------------------------------------------------