Make.proto
changeset 2100 984a2a5eba06
parent 2032 ddf2e0244901
child 2115 473e629e1d34
--- a/Make.proto	Sat Mar 16 23:27:08 2019 +0100
+++ b/Make.proto	Sat Mar 16 23:27:13 2019 +0100
@@ -11,6 +11,8 @@
 #    make clean   - clean all temp files
 #    make clobber - clean all
 #
+#    export MAKE_ARGS=-j4 ; make
+#
 # This file contains definitions for Unix based platforms.
 # It shares common definitions with the win32-make in Make.spec.
 
@@ -97,11 +99,11 @@
 
 # build all mandatory prerequisite packages (containing superclasses) for this package
 prereq:
-	cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
-	cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
-	cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
-	cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
-	cd ../sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+	cd ../../libbasic && $(MAKE) $(MAKE_ARGS) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+	cd ../../libbasic2 && $(MAKE) $(MAKE_ARGS) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+	cd ../../libview && $(MAKE) $(MAKE_ARGS) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+	cd ../../libview2 && $(MAKE) $(MAKE_ARGS) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+	cd ../sunit && $(MAKE) $(MAKE_ARGS) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
 
 
 
@@ -114,7 +116,7 @@
 	-rm -f *.s *.s2
 
 clean::
-	-rm -f *.o *.H
+	-rm -f *.$(O) *.$(H)
 
 clobber:: clean
 	-rm -f *.so *.dll
@@ -131,6 +133,7 @@
 $(OUTDIR)RegressionTests__CECollectionExtensionTest.$(O) RegressionTests__CECollectionExtensionTest.$(C) RegressionTests__CECollectionExtensionTest.$(H): RegressionTests__CECollectionExtensionTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
 $(OUTDIR)RegressionTests__CESequenceableCollectionExtensionTest.$(O) RegressionTests__CESequenceableCollectionExtensionTest.$(C) RegressionTests__CESequenceableCollectionExtensionTest.$(H): RegressionTests__CESequenceableCollectionExtensionTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
 $(OUTDIR)RegressionTests__CEStringExtensionTest.$(O) RegressionTests__CEStringExtensionTest.$(C) RegressionTests__CEStringExtensionTest.$(H): RegressionTests__CEStringExtensionTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
+$(OUTDIR)RegressionTests__CRCTests.$(O) RegressionTests__CRCTests.$(C) RegressionTests__CRCTests.$(H): RegressionTests__CRCTests.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
 $(OUTDIR)RegressionTests__CachedValueTest.$(O) RegressionTests__CachedValueTest.$(C) RegressionTests__CachedValueTest.$(H): RegressionTests__CachedValueTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
 $(OUTDIR)RegressionTests__CharacterEncoderTests.$(O) RegressionTests__CharacterEncoderTests.$(C) RegressionTests__CharacterEncoderTests.$(H): RegressionTests__CharacterEncoderTests.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
 $(OUTDIR)RegressionTests__CharacterSetTests.$(O) RegressionTests__CharacterSetTests.$(C) RegressionTests__CharacterSetTests.$(H): RegressionTests__CharacterSetTests.st $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)