@@ -85,7 +85,7 @@ config-linux-%:
8585 ./config.sh --platform linux-$*
8686
8787compile-linux-% :
88- $(MAKE ) -C build-linux-$* /livecode
88+ $(MAKE ) -C build-linux-$* /livecode default
8989
9090check-linux-% :
9191 $(MAKE ) -C build-linux-$* /livecode check
@@ -106,7 +106,7 @@ config-android-%:
106106 ./config.sh --platform android-$*
107107
108108compile-android-% :
109- $(MAKE ) -C build-android-$* /livecode
109+ $(MAKE ) -C build-android-$* /livecode default
110110
111111check-android-% :
112112 $(MAKE ) -C build-android-$* /livecode check
@@ -125,7 +125,10 @@ config-mac:
125125 ./config.sh --platform mac
126126
127127compile-mac :
128- $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE )
128+ $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target default
129+
130+ check-mac :
131+ $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target check
129132
130133all-mac :
131134 $(MAKE ) config-mac
@@ -143,25 +146,31 @@ config-ios-%:
143146 ./config.sh --platform ios --generator-output build-ios-$* /livecode -Dtarget_sdk=$*
144147
145148compile-ios-% :
146- $(XCODEBUILD ) -project " build-ios-$* $( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE )
149+ $(XCODEBUILD ) -project " build-ios-$* $( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target default
150+
151+ check-ios-% :
152+ $(XCODEBUILD ) -project " build-ios-$* $( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target check
147153
148154# Dummy targets to prevent our build system from building iOS 5.1 simulator
149155config-ios-iphonesimulator5.1 :
150156 @echo " Skipping iOS simulator 5.1 (no longer supported)"
151157compile-ios-iphonesimulator5.1 :
152158 @echo " Skipping iOS simulator 5.1 (no longer supported)"
159+ check-ios-iphonesimulator5.1 :
160+ @echo " Skipping iOS simulator 5.1 (no longer supported)"
153161
154162# Provide some synonyms for "latest iOS SDK"
155- $(addsuffix -ios-iphoneos,all config compile) : % : % 8.4
163+ $(addsuffix -ios-iphoneos,all config compile check ) : % : % 8.4
156164 @true
157- $(addsuffix -ios-iphonesimulator,all config compile) : % : % 8.4
165+ $(addsuffix -ios-iphonesimulator,all config compile check ) : % : % 8.4
158166 @true
159167
160168all_ios_subplatforms = iphoneos iphonesimulator $(IOS_SDKS )
161169
162170all-ios : $(addprefix all-ios-,$(IOS_SDKS ) )
163171config-ios : $(addprefix config-ios-,$(IOS_SDKS ) )
164172compile-ios : $(addprefix compile-ios-,$(IOS_SDKS ) )
173+ check-ios : $(addprefix check-ios-,$(IOS_SDKS ) )
165174
166175# ###############################################################
167176# Windows rules
@@ -172,7 +181,11 @@ config-win-%:
172181
173182compile-win-% :
174183 # windows builds occur under Wine
175- cd build-win-$* && $(WINE ) /K ../make.cmd
184+ cd build-win-$* && $(WINE ) /K ../make.cmd default
185+
186+ check-win-% :
187+ # windows builds occur under Wine
188+ cd build-win-$* && $(WINE ) /K ../make.cmd check
176189
177190all-win-% :
178191 $(MAKE ) config-win-$*
@@ -188,7 +201,7 @@ config-emscripten:
188201 $(EMMAKE ) ./config.sh --platform emscripten
189202
190203compile-emscripten :
191- $(EMMAKE ) $(MAKE ) -C build-emscripten/livecode
204+ $(EMMAKE ) $(MAKE ) -C build-emscripten/livecode default
192205
193206check-emscripten :
194207 $(EMMAKE ) $(MAKE ) -C build-emscripten/livecode check
0 commit comments