DD2-monitor/Makefile

22 lines
425 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 fake-values
2019-01-18 04:37:30 +11:00
# ---------------------------------------------
2018-12-08 23:02:24 +11:00
2019-03-28 22:04:40 +11:00
O = serial/serial.o serial/funcs.o
2019-01-27 23:15:33 +11:00
essai: essai.c Makefile $(CLIB)
2019-03-28 22:04:40 +11:00
$(CC) ${CCOPT} $< $(CLIB) ${O} -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
2019-01-18 04:37:30 +11:00
# ---------------------------------------------