refactor logger
[simavr] / examples / Makefile
index 680d0b7..65cc893 100644 (file)
@@ -1,8 +1,8 @@
 
 boards_base=${wildcard board_*}
-# remove vhci example on anything but linux
-ifneq (${shell uname}, Linux)
-boards=${subst board_usb,,$(boards_base)}
+# Remove simduino until FileMapping is implemented to work around missing mmap in Win32
+ifeq (${shell uname -o}, Msys)
+boards=${subst board_usb,,${subst board_simduino,,$(boards_base)}}
 else
 boards=$(boards_base)
 endif
@@ -13,3 +13,10 @@ all:
 clean:
        for bi in ${boards}; do $(MAKE) -C $$bi clean; done
 
+#
+# The USB example is not made by default, as it downloads stuff
+# for the vhci library, it fails the debian policy on being able
+# to build offline.
+#
+extra_board_usb:
+       make -C extra_board_usb