readline: Fix nitro.mk to honor pkg-config results

This commit is contained in:
okuoku 2016-08-12 17:28:38 +09:00
parent 0f17caae6c
commit 7b630cdafe
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ ifeq ($(libedit_exists),0)
LDFLAGS += `pkg-config libedit --libs`
endif
contrib/src/readline.o: contrib/src/readline.c
$(CC) $(CFLAGS) -o $@ $< `pkg-config libedit --cflags`
contrib/30.readline/src/readline.o: contrib/30.readline/src/readline.c
$(CC) $(CFLAGS) -c -o $@ $< `pkg-config libedit --cflags`
test-readline: bin/picrin
for test in `ls contrib/30.readline/t/*.scm`; do \