move picrin/macro.scm. remove piclib/
This commit is contained in:
parent
ad38eb9202
commit
2fb17afdfc
6
Makefile
6
Makefile
|
@ -7,8 +7,6 @@ PICRIN_SRCS = \
|
||||||
src/init_contrib.c
|
src/init_contrib.c
|
||||||
PICRIN_OBJS = \
|
PICRIN_OBJS = \
|
||||||
$(PICRIN_SRCS:.c=.o)
|
$(PICRIN_SRCS:.c=.o)
|
||||||
PICRIN_LIBS = \
|
|
||||||
piclib/picrin/macro.scm
|
|
||||||
|
|
||||||
CONTRIB_SRCS =
|
CONTRIB_SRCS =
|
||||||
CONTRIB_OBJS = $(CONTRIB_SRCS:.c=.o)
|
CONTRIB_OBJS = $(CONTRIB_SRCS:.c=.o)
|
||||||
|
@ -33,8 +31,8 @@ debug: bin/picrin
|
||||||
bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
|
bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
|
||||||
$(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a $(LDFLAGS)
|
$(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a $(LDFLAGS)
|
||||||
|
|
||||||
src/load_piclib.c: $(PICRIN_LIBS) $(CONTRIB_LIBS)
|
src/load_piclib.c: $(CONTRIB_LIBS)
|
||||||
perl etc/mkloader.pl $(PICRIN_LIBS) $(CONTRIB_LIBS) > $@
|
perl etc/mkloader.pl $(CONTRIB_LIBS) > $@
|
||||||
|
|
||||||
src/init_contrib.c:
|
src/init_contrib.c:
|
||||||
perl etc/mkinit.pl $(CONTRIB_INITS) > $@
|
perl etc/mkinit.pl $(CONTRIB_INITS) > $@
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue