Browse Source

now making the core static library

master
tth 2 years ago
parent
commit
5faccb1724
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      core/Makefile

+ 5
- 4
core/Makefile View File

@ -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…
Cancel
Save