DD2-monitor/Makefile

30 lines
629 B
Makefile
Raw Permalink Normal View History

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-05-28 23:10:39 +11:00
CLIB = core/libdd2m-core.a viz/libdd2m-viz.a audio/player.o
2019-05-21 03:20:18 +11:00
all: essai
# -------------------------------------------------------
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
essai.o: essai.c Makefile
$(CC) ${CCOPT} $< -c
2019-05-21 03:20:18 +11:00
essai: essai.o Makefile $(CLIB) ${OSERIAL}
2019-05-28 23:10:39 +11:00
$(CC) ${CCOPT} $< ${OSERIAL} $(CLIB) \
-lncurses -lao -lsndfile -o $@
2018-12-08 23:02:24 +11:00
2019-01-27 23:15:33 +11:00
fake-values: fake-values.c Makefile $(CLIB)
2019-05-28 23:10:39 +11:00
$(CC) ${CCOPT} $< $(CLIB) -o $@
2018-12-06 02:38:03 +11:00
# -------------------------------------------------------