PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/tags/rel-1.3.35/Examples/chicken/multimap/Makefile

#
Makefile | 30 lines | 22 code | 5 blank | 3 comment | 0 complexity | 946f4f521e1227343c493a7a8f7f5c99 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. INTERFACE = example.i
  4. SRCS = example.c
  5. CXXSRCS =
  6. TARGET = multimap
  7. INCLUDE =
  8. SWIGOPT =
  9. CFLAGS =
  10. VARIANT =
  11. # uncomment the following two lines to build a static exe
  12. #CHICKEN_MAIN = test-multimap.scm
  13. #VARIANT = _static
  14. all:: $(TARGET)
  15. $(TARGET): $(INTERFACE) $(SRCS)
  16. $(MAKE) -f $(TOP)/Makefile \
  17. SRCS='$(SRCS)' CXXSRCS='$(CXXSRCS)' CHICKEN_MAIN='$(CHICKEN_MAIN)' \
  18. INCLUDE='$(INCLUDE)' SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' \
  19. SWIG='$(SWIG)' INTERFACE='$(INTERFACE)' CHICKENOPTS='$(CHICKENOPTS)' chicken$(VARIANT)
  20. clean::
  21. $(MAKE) -f $(TOP)/Makefile chicken_clean
  22. rm -f example.scm
  23. rm -f $(TARGET)
  24. check::
  25. env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH csi test-multimap.scm