PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/chicken/overload/Makefile

#
Makefile | 30 lines | 22 code | 5 blank | 3 comment | 0 complexity | dce99ae44bcadc3354859f70af385783 MD5 | raw file
 1TOP         = ../..
 2SWIG        = $(TOP)/../preinst-swig
 3INTERFACE   = example.i
 4SRCS        = 
 5CXXSRCS     = example.cxx
 6TARGET      = overload
 7INCLUDE     =
 8SWIGOPT     = -proxy -unhideprimitive
 9CFLAGS      = 
10VARIANT     = 
11
12# uncomment the following lines to build a static exe
13#CHICKEN_MAIN = test-overload.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)_cpp
23
24clean::
25	$(MAKE) -f $(TOP)/Makefile chicken_clean
26	rm -f example.scm
27	rm -f $(TARGET)
28
29check::
30	env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH csi test-overload.scm