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