Browse Source

Added phony target for making all builds

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7724 8c9fc860-2736-0410-a75d-ab315db34111
negelef 7 years ago
parent
commit
d6e5da05c2
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tools/builds/a2/makefile

+ 6 - 1
tools/builds/a2/makefile

@@ -1,6 +1,6 @@
 all: oberon
 
-.PHONY: all compiler execution compilation execution clean
+.PHONY: all compiler execution compilation execution builds clean
 MAKEFLAGS += --no-builtin-rules --no-builtin-variables
 .SUFFIXES: # delete the default suffixes
 
@@ -41,6 +41,11 @@ execution: Oberon.Execution.Test.Diff
 Oberon.Execution.Test.Diff: oberon FoxTest.GofU source/Oberon.Execution.Test
 	@./oberon FoxTest.Compile source/Oberon.Execution.Test
 
+# builds
+
+builds:
+	@make $(foreach platform,$(platforms),&& make build platform=$(platform))
+
 ifdef platform
 
 .PHONY: build