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

@ -6,16 +6,15 @@ INTERFACE = example.i
SWIGOPT =
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)
mv m3makefile $(MODULA3SRCS) src/
cm3
clean::
clean:
$(MAKE) -f $(TOP)/Makefile modula3_clean
check: all