PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/modula3/class/Makefile

#
Makefile | 25 lines | 19 code | 4 blank | 2 comment | 0 complexity | 71a45c99923e93f205c21ce7b5c36cc4 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3SRCS       = 
 4TARGET     = example
 5PLATFORM   = LINUXLIBC6
 6INTERFACE  = example.i
 7SWIGOPT    = -c++
 8MODULA3SRCS = *.[im]3
 9
10all::	modula3
11
12modula3::
13	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
14	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' modula3
15	m3ppinplace $(MODULA3SRCS)
16# compilation of example_wrap.cxx is started by cm3
17#	$(CXX) -c $(TARGET)_wrap.cxx
18	mv example_wrap.cxx m3makefile $(MODULA3SRCS) src/
19	ln -sf ../example.h src/example.h
20	cm3
21
22clean::
23	$(MAKE) -f $(TOP)/Makefile modula3_clean
24
25check: all