implement new macro system

This commit is contained in:
2025-08-05 17:47:04 +03:00
committed by Pavel Kulyov
parent 4245463714
commit 6c6e00e6dc
9 changed files with 116 additions and 221 deletions

View File

@@ -1,6 +1,6 @@
CHICKEN_C = csc
MODULES = sexc modules templates utils fmt-c
MODULES = sexc sex-macros sex-modules utils fmt-c
OBJ = $(MODULES:%=%.o)
sexc: main.o $(OBJ)
@@ -9,9 +9,6 @@ sexc: main.o $(OBJ)
main.o: main.scm
$(CHICKEN_C) $< -c -o $@
templates.o: templates.scm
$(CHICKEN_C) $< -c -o $@ -compile-syntax
%.o: %.scm
$(CHICKEN_C) $< -e -c -o $@