2019-05-21 22:44:38 +11:00
|
|
|
#########################################################
|
|
|
|
|
|
|
|
# MAIN PROGGY
|
|
|
|
|
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
|
2019-05-21 03:20:18 +11:00
|
|
|
|
2019-05-15 00:46:49 +11:00
|
|
|
all: essai
|
2018-12-11 10:33:15 +11:00
|
|
|
|
2019-05-15 00:46:49 +11:00
|
|
|
# -------------------------------------------------------
|
2018-12-08 23:02:24 +11:00
|
|
|
|
2019-05-21 03:20:18 +11:00
|
|
|
OSERIAL = serial/serial.o serial/funcs.o ui/terminal.o
|
2019-03-28 22:04:40 +11:00
|
|
|
|
2019-05-15 00:46:49 +11:00
|
|
|
essai.o: essai.c Makefile
|
|
|
|
$(CC) ${CCOPT} $< -c
|
|
|
|
|
2019-05-21 03:20:18 +11:00
|
|
|
essai: essai.o Makefile $(CLIB) ${OSERIAL}
|
|
|
|
$(CC) ${CCOPT} $< ${OSERIAL} $(CLIB) -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-05-15 00:46:49 +11:00
|
|
|
# -------------------------------------------------------
|
|
|
|
|