PageRenderTime 25ms CodeModel.GetById 23ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/modula3/reference/Makefile

#
Makefile | 21 lines | 17 code | 4 blank | 0 comment | 0 complexity | e36f0f6135ea863c2d9ba6d3bea48409 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1TOP        = ../..
 2SWIG       = $(TOP)/../swig
 3SRCS       = 
 4TARGET     = example
 5INTERFACE  = example.i
 6SWIGOPT    = -c++
 7MODULA3SRCS = *.[im]3
 8
 9all::	modula3
10
11modula3::
12	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
13	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' modula3
14	m3ppinplace $(MODULA3SRCS)
15	mv m3makefile $(MODULA3SRCS) src/
16	cm3
17
18clean::
19	$(MAKE) -f $(TOP)/Makefile modula3_clean
20
21check: all