Chicken makefiles tweaks for consistency with other languages - still more to be done though

This commit is contained in:
William S Fulton 2013-04-15 22:07:19 +01:00
commit 897b2361cb
7 changed files with 40 additions and 31 deletions

View file

@ -13,7 +13,10 @@ VARIANT =
#CHICKEN_MAIN = test-constants.scm
#VARIANT = _static
all:: $(TARGET)
check: build
csi test-constants.scm
build: $(TARGET)
$(TARGET): $(INTERFACE) $(SRCS)
$(MAKE) -f $(TOP)/Makefile \
@ -21,10 +24,7 @@ $(TARGET): $(INTERFACE) $(SRCS)
INCLUDE='$(INCLUDE)' SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' \
SWIG='$(SWIG)' INTERFACE='$(INTERFACE)' CHICKENOPTS='$(CHICKENOPTS)' chicken$(VARIANT)
clean::
clean:
$(MAKE) -f $(TOP)/Makefile chicken_clean
rm -f example.scm
rm -f $(TARGET)
check::
csi test-constants.scm