/trunk/Examples/guile/simple/Makefile

# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 4a011cae46c2670d61775012bfe87621 MD5 · raw file

  1. SRCS = example.c
  2. TARGET = my-guile
  3. IFILE = example.i
  4. MKDIR = ..
  5. all: $(TARGET)
  6. $(TARGET):
  7. $(MAKE) -f $(MKDIR)/Makefile \
  8. SRCS='$(SRCS)' \
  9. TARGET=$(TARGET) \
  10. IFILE=$(IFILE) \
  11. sub-all
  12. clean::
  13. $(MAKE) -f $(MKDIR)/Makefile TARGET='$(TARGET)' guile_clean
  14. check: $(TARGET)
  15. ./$(TARGET) -s example.scm > /dev/null