If we are going to link the modules back to libkuroko, it needs to be built first...
This commit is contained in:
parent
a9b04cceb2
commit
dd22d86abe
4
Makefile
4
Makefile
@ -51,10 +51,10 @@ kuroko: ${KUROKO_LIBS}
|
|||||||
|
|
||||||
%.o: *.h
|
%.o: *.h
|
||||||
|
|
||||||
modules/%.so: src/%.c
|
modules/%.so: src/%.c libkuroko.so
|
||||||
${CC} ${CFLAGS} -shared -o $@ $< ${LDLIBS}
|
${CC} ${CFLAGS} -shared -o $@ $< ${LDLIBS}
|
||||||
|
|
||||||
modules/math.so: src/math.c
|
modules/math.so: src/math.c libkuroko.so
|
||||||
${CC} ${CFLAGS} -shared -o $@ $< -lm ${LDLIBS}
|
${CC} ${CFLAGS} -shared -o $@ $< -lm ${LDLIBS}
|
||||||
|
|
||||||
libkuroko.so: ${OBJS}
|
libkuroko.so: ${OBJS}
|
||||||
|
Loading…
Reference in New Issue
Block a user