move picrin/macro.scm. remove piclib/

This commit is contained in:
Yuichi Nishiwaki 2015-07-09 04:07:12 +09:00
parent ad38eb9202
commit 2fb17afdfc
4 changed files with 8 additions and 4 deletions

View File

@ -7,8 +7,6 @@ PICRIN_SRCS = \
src/init_contrib.c
PICRIN_OBJS = \
$(PICRIN_SRCS:.c=.o)
PICRIN_LIBS = \
piclib/picrin/macro.scm
CONTRIB_SRCS =
CONTRIB_OBJS = $(CONTRIB_SRCS:.c=.o)
@ -33,8 +31,8 @@ debug: bin/picrin
bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
$(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a $(LDFLAGS)
src/load_piclib.c: $(PICRIN_LIBS) $(CONTRIB_LIBS)
perl etc/mkloader.pl $(PICRIN_LIBS) $(CONTRIB_LIBS) > $@
src/load_piclib.c: $(CONTRIB_LIBS)
perl etc/mkloader.pl $(CONTRIB_LIBS) > $@
src/init_contrib.c:
perl etc/mkinit.pl $(CONTRIB_INITS) > $@

View File

@ -0,0 +1,6 @@
CONTRIB_LIBS += $(wildcard contrib/10.macro/*.scm)
CONTRIB_TESTS += test-macro
test-macro: bin/picrin
bin/picrin contrib/10.macro/t/ir-macro.scm