If we are going to link the modules back to libkuroko, it needs to be built first...

This commit is contained in:
K. Lange 2021-01-19 13:57:35 +09:00
parent a9b04cceb2
commit dd22d86abe

View File

@ -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}