PageRenderTime 22ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-25/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
 1TOP         = ../..
 2SWIG        = $(TOP)/../preinst-swig
 3INTERFACE   = example.i
 4SRCS        =
 5CXXSRCS     = 
 6TARGET      = constants
 7INCLUDE     =
 8SWIGOPT     = 
 9CFLAGS      = 
10VARIANT     = 
11
12# uncomment the following two lines to build a static exe
13#CHICKEN_MAIN = test-constants.scm
14#VARIANT      = _static
15
16all:: $(TARGET)
17
18$(TARGET): $(INTERFACE) $(SRCS)
19	$(MAKE) -f $(TOP)/Makefile \
20		SRCS='$(SRCS)' CXXSRCS='$(CXXSRCS)' CHICKEN_MAIN='$(CHICKEN_MAIN)' \
21		INCLUDE='$(INCLUDE)' SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' \
22		SWIG='$(SWIG)' INTERFACE='$(INTERFACE)' CHICKENOPTS='$(CHICKENOPTS)' chicken$(VARIANT)
23
24clean::
25	$(MAKE) -f $(TOP)/Makefile chicken_clean
26	rm -f example.scm
27	rm -f $(TARGET)
28
29check::
30	csi test-constants.scm