2019-01-14 13:20:54 +11:00
|
|
|
#
|
2019-01-17 21:51:07 +11:00
|
|
|
# dd2 monitoring
|
2019-01-14 13:20:54 +11:00
|
|
|
#
|
2019-01-17 21:51:07 +11:00
|
|
|
# buil the core functions, use with care
|
2019-01-14 13:20:54 +11:00
|
|
|
#
|
|
|
|
|
2019-01-17 19:07:47 +11:00
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
|
|
|
|
OBJS = lut1024f.o parseconf.o utils.o
|
|
|
|
DEPS = Makefile
|
|
|
|
|
|
|
|
# ---------------------------------------------------
|
2019-01-14 13:20:54 +11:00
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
libdd2m-core.a: ${OBJS}
|
2019-01-17 19:07:47 +11:00
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
lut1024f.o: lut1024f.c lut1024.h ${DEPS}
|
2019-01-17 19:07:47 +11:00
|
|
|
gcc -Wall -c $<
|
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
parseconf.o: parseconf.c config.h ${DEPS}
|
|
|
|
gcc -Wall -c $<
|
|
|
|
|
|
|
|
utils.o: utils.c utils.h ${DEPS}
|
|
|
|
gcc -Wall -c $<
|
2019-01-17 19:07:47 +11:00
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
# ---------------------------------------------------
|
2019-01-17 19:07:47 +11:00
|
|
|
|
2019-01-17 21:51:07 +11:00
|
|
|
t: t.c ${OBJS} lut1024.h config.h utils.h ${DEPS}
|
2019-01-17 19:07:47 +11:00
|
|
|
gcc -Wall $< ${OBJS} -o $@
|
2019-01-14 13:20:54 +11:00
|
|
|
|
|
|
|
foo.lut1024f: mklut.pl Makefile
|
|
|
|
./mklut.pl quux > $@
|
|
|
|
|