PageRenderTime 34ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-24/SWIG/Examples/chicken/constants/Makefile

#
Makefile | 30 lines | 22 code | 5 blank | 3 comment | 0 complexity | f3a829fd52ffd29b6a2311a8ab6b8724 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 =
  5. CXXSRCS =
  6. TARGET = constants
  7. INCLUDE =
  8. SWIGOPT =
  9. CFLAGS =
  10. VARIANT =
  11. # uncomment the following two lines to build a static exe
  12. #CHICKEN_MAIN = test-constants.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. csi test-constants.scm