fix build

This commit is contained in:
Yuichi Nishiwaki 2017-03-28 21:51:24 +09:00
parent 446a17f2e4
commit 39b6103548
1 changed files with 34 additions and 6 deletions

View File

@ -1,4 +1,31 @@
LIBPICRIN_SRCS = $(wildcard lib/*.c) LIBPICRIN_SRCS = \
lib/blob.c\
lib/bool.c\
lib/boot.c\
lib/char.c\
lib/cont.c\
lib/data.c\
lib/debug.c\
lib/dict.c\
lib/error.c\
lib/eval.c\
lib/gc.c\
lib/lib.c\
lib/load.c\
lib/number.c\
lib/pair.c\
lib/port.c\
lib/proc.c\
lib/read.c\
lib/record.c\
lib/state.c\
lib/string.c\
lib/symbol.c\
lib/value.c\
lib/var.c\
lib/vector.c\
lib/weak.c\
lib/write.c
LIBPICRIN_OBJS = $(LIBPICRIN_SRCS:.c=.o) LIBPICRIN_OBJS = $(LIBPICRIN_SRCS:.c=.o)
PICRIN_SRCS = \ PICRIN_SRCS = \
@ -92,10 +119,11 @@ install: all
install -c picrin $(prefix)/bin/picrin install -c picrin $(prefix)/bin/picrin
clean: clean:
rm -f src/load_piclib.c src/init_contrib.c lib/boot.c $(RM) picrin
rm -f libpicrin.so libpicrin-tiny.so $(RM) src/load_piclib.c src/init_contrib.c lib/boot.c
rm -f $(LIBPICRIN_OBJS) $(RM) libpicrin.so libpicrin-tiny.so
rm -f $(PICRIN_OBJS) $(RM) $(LIBPICRIN_OBJS)
rm -f $(CONTRIB_OBJS) $(RM) $(PICRIN_OBJS)
$(RM) $(CONTRIB_OBJS)
.PHONY: all install clean push test test-r7rs test-contribs test-issue test-picrin-issue test-repl-issue doc $(CONTRIB_TESTS) $(REPL_ISSUE_TESTS) .PHONY: all install clean push test test-r7rs test-contribs test-issue test-picrin-issue test-repl-issue doc $(CONTRIB_TESTS) $(REPL_ISSUE_TESTS)