DD2-monitor/Makefile

21 lines
282 B
Makefile

#
# must be run with gnu make
#
CC = gcc
CCOPT = -Wall -g
all: essai fake-values
essai: essai.c funcs.o Makefile
gcc ${CCOPT} $< funcs.o -o $@
funcs.o: funcs.c funcs.h Makefile
gcc ${CCOPT} -c $<
fake-values: fake-values.c funcs.o Makefile
gcc ${CCOPT} $< funcs.o -o $@