Modula3 makefiles tweaks for consistency with other languages - they still don't work though

This commit is contained in:
William S Fulton 2013-04-15 22:22:34 +01:00
commit a6e2ee8580
6 changed files with 24 additions and 30 deletions

View file

@ -7,9 +7,10 @@ INTERFACE = example.i
SWIGOPT = -c++
MODULA3SRCS = *.[im]3
all:: modula3
check: build
$(MAKE) -f $(TOP)/Makefile modula3_run
modula3::
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' modula3
m3ppinplace $(MODULA3SRCS)
@ -19,7 +20,5 @@ modula3::
ln -sf ../example.h src/example.h
cm3
clean::
clean:
$(MAKE) -f $(TOP)/Makefile modula3_clean
check: all