DD2-monitor/Makefile
2019-05-18 18:01:05 +02:00

26 lines
534 B
Makefile

#
# must be run with gnu make
#
CC = gcc
CCOPT = -Wall -g
CLIB = core/libdd2m-core.a viz/libdd2m-viz.a
OBJS = essai.o terminal.o
all: essai
# -------------------------------------------------------
OSERIAL = serial/serial.o serial/funcs.o
essai.o: essai.c Makefile
$(CC) ${CCOPT} $< -c
essai: ${OBJS} Makefile $(CLIB) ${OSERIAL}
$(CC) ${CCOPT} $< $(CLIB) ${OSERIAL} -lncurses -o $@
fake-values: fake-values.c Makefile $(CLIB)
$(CC) ${CCOPT} $< $(CLIB) -o $@
# -------------------------------------------------------