20 lines
384 B
Makefile
20 lines
384 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
|
|
|
|
# ---------------------------------------------
|
|
|
|
essai: essai.c Makefile $(CLIB)
|
|
$(CC) ${CCOPT} $< $(CLIB) -lncurses -o $@
|
|
|
|
fake-values: fake-values.c Makefile $(CLIB)
|
|
$(CC) ${CCOPT} $< $(CLIB) -o $@
|
|
|
|
# ---------------------------------------------
|