PageRenderTime 9ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/chicken/zlib/Makefile

#
Makefile | 28 lines | 24 code | 4 blank | 0 comment | 0 complexity | fd5388f46e61ce350a3ea219874c780e 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      = zlib
 7INCLUDE     =
 8SWIGOPT     = -I/usr/include
 9CFLAGS      = 
10VARIANT     = 
11LIBS        = -lz
12VARIANT     = _direct
13
14all:: $(TARGET)
15
16$(TARGET): $(INTERFACE) $(SRCS)
17	$(MAKE) -f $(TOP)/Makefile \
18		SRCS='$(SRCS)' CXXSRCS='$(CXXSRCS)' \
19		INCLUDE='$(INCLUDE)' SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' TARGET='$(TARGET)' \
20		SWIG='$(SWIG)' INTERFACE='$(INTERFACE)' CHICKENOPTS='$(CHICKENOPTS)' chicken$(VARIANT)
21
22clean::
23	$(MAKE) -f $(TOP)/Makefile chicken_clean
24	rm -f example.scm
25	rm -f $(TARGET)
26
27check::
28	csi test-zlib.scm