now making the core static library
This commit is contained in:
parent
e5cc357130
commit
5faccb1724
@ -8,10 +8,11 @@
|
||||
COPT = -Wall -fpic -g -DDEBUG_LEVEL=0
|
||||
OBJS = lut1024f.o parseconf.o utils.o
|
||||
DEPS = Makefile
|
||||
|
||||
ALIB = libdd2m-core.a
|
||||
# ---------------------------------------------------
|
||||
|
||||
libdd2m-core.a: ${OBJS}
|
||||
${ALIB}: ${OBJS}
|
||||
ar r $@ $?
|
||||
|
||||
lut1024f.o: lut1024f.c lut1024.h ${DEPS}
|
||||
gcc -Wall -c $<
|
||||
@ -24,8 +25,8 @@ utils.o: utils.c utils.h ${DEPS}
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
t: t.c ${OBJS} lut1024.h config.h utils.h ${DEPS}
|
||||
gcc -Wall $< ${OBJS} -o $@
|
||||
t: t.c ${ALIB} lut1024.h config.h utils.h ${DEPS}
|
||||
gcc -Wall $< ${ALIB} -o $@
|
||||
|
||||
foo.lut1024f: mklut.pl Makefile
|
||||
./mklut.pl quux > $@
|
||||
|
Loading…
Reference in New Issue
Block a user