moving funcs around the corner

This commit is contained in:
2019-01-17 11:51:07 +01:00
parent 63d71d99a7
commit dac48f95b8
5 changed files with 87 additions and 49 deletions

View File

@@ -1,19 +1,30 @@
#
# dd2 monitoring
#
# buil the core functions, use with care
#
OBJS = lut1024f.o parseconf.o
lut1024f.o: lut1024f.c lut1024.h
COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
OBJS = lut1024f.o parseconf.o utils.o
DEPS = Makefile
# ---------------------------------------------------
libdd2m-core.a: ${OBJS}
lut1024f.o: lut1024f.c lut1024.h ${DEPS}
gcc -Wall -c $<
parseconf.o: parseconf.c config.h
parseconf.o: parseconf.c config.h ${DEPS}
gcc -Wall -c $<
utils.o: utils.c utils.h ${DEPS}
gcc -Wall -c $<
# ---------------------------------------------------
t: t.c ${OBJS} lut1024.h config.h
t: t.c ${OBJS} lut1024.h config.h utils.h ${DEPS}
gcc -Wall $< ${OBJS} -o $@
foo.lut1024f: mklut.pl Makefile