16 lines
289 B
Makefile
16 lines
289 B
Makefile
CC = gcc
|
|
CCOPT = -Wall -g -DDEBUG_LEVEL=1
|
|
|
|
ffuncs.o: ffuncs.c ffuncs.h Makefile
|
|
$(CC) ${CCOPT} -c $<
|
|
|
|
smpllist.o: smpllist.c smpllist.h ffuncs.h Makefile
|
|
$(CC) ${CCOPT} -c $<
|
|
|
|
LIBS =
|
|
OBJS = ffuncs.o smpllist.o
|
|
|
|
t: t.c ${OBJS} Makefile
|
|
$(CC) ${CCOPT} $< ${OBJS} ${LIBS} -o $@
|
|
|