2019-05-25 02:40:13 +11:00
|
|
|
|
|
|
|
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
|
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
funcs.o: funcs.c funcs.h Makefile
|
|
|
|
gcc ${COPT} -c $<
|
2019-05-25 02:40:13 +11:00
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
t: t.c Makefile ${DEPS} funcs.o
|
|
|
|
gcc ${COPT} $< funcs.o ../libfloatimg.a -o $@
|
2019-05-25 02:40:13 +11:00
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
# ---------------
|
|
|
|
# external things
|
2019-05-25 20:56:56 +11:00
|
|
|
|
|
|
|
capture: capture.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|