summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-24 21:31:00 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-08 09:20:08 +0100
commit42d49b34fa87b14484cdb73e5e5babaa26cf30e1 (patch)
tree48b2509d11661979e86963b2d97b8b0097f80105 /Makefile
parente475f10dca39b715a09589027452511ac4cd86fb (diff)
Hacks to allow OS X build for 32-bit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 14 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 5cd1efb..0c46839 100644
--- a/Makefile
+++ b/Makefile
@@ -33,56 +33,53 @@ endef
generic:
$(call generate_common,$@)
-osx:
+osx:
$(call generate_common,$@)
+osx32:
+ $(call generate_common,$@,-DCMAKE_OSX_ARCHITECTURES=i386)
+
cortex-m0:
$(call generate_common,$@)
-
+
cortex-m0+:
$(call generate_common,$@)
-
+
cortex-m3:
$(call generate_common,$@)
-
+
cortex-m4:
$(call generate_common,$@)
-
+
cortex-m4f:
$(call generate_common,$@)
-
+
cortex-m7:
$(call generate_common,$@)
arm-sim:
$(call generate_common,$@)
-avrxmega7:
+avrxmega7:
$(call generate_common,$@)
msp430:
$(call generate_common,$@)
-
+
mingw:
$(call generate_common,$@,-DWIN32=1)
-
+
lib_only:
rm -R -f build_lib_only
mkdir build_lib_only
cd build_lib_only && cmake $(COMMON_DEFINITIONS) -DLIB_ONLY=TRUE ..
-all:
+all:
generic
clean:
rm -R -f build_*
rm -R -f ext_images
-
-include fs_test.mk
-
-
-
-
-
+include fs_test.mk