2019-10-30 15:31:38 +11:00
|
|
|
CC = gcc
|
|
|
|
CCOPT = -Wall -g -DDEBUG_LEVEL=1
|
|
|
|
|
2019-11-01 01:47:54 +11:00
|
|
|
ffuncs.o: ffuncs.c ffuncs.h Makefile
|
|
|
|
$(CC) ${CCOPT} -c $<
|
2019-10-30 15:31:38 +11:00
|
|
|
|
2019-11-04 04:58:21 +11:00
|
|
|
smpllist.o: smpllist.c smpllist.h ffuncs.h Makefile
|
|
|
|
$(CC) ${CCOPT} -c $<
|
|
|
|
|
2019-10-30 15:31:38 +11:00
|
|
|
LIBS =
|
2019-11-04 04:58:21 +11:00
|
|
|
OBJS = ffuncs.o smpllist.o
|
2019-10-30 15:31:38 +11:00
|
|
|
|
|
|
|
t: t.c ${OBJS} Makefile
|
|
|
|
$(CC) ${CCOPT} $< ${OBJS} ${LIBS} -o $@
|
|
|
|
|