OSDN Git Service

enabled windows gtk.
[motonesemu/motonesemu.git] / Makefile
index 2b9cd76..c2a73eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
 
+linux_env := 1
+export linux_env
+
 DIRS=libs emulator display
 
 ROOT_DIR=$(CURDIR)
@@ -7,10 +10,7 @@ all:
        for dir in $(DIRS); do \
                make -C $(ROOT_DIR)/$$dir; \
        done
-       test ! -e bin && mkdir bin
-       cp emulator/motonesemu bin/
-       cp display/vgadisp bin/
-       cp emulator/joypad/famicon-controller.jpg bin/
+       ./install.sh
 
 tag:
        find . -name "*.[ch]" | xargs ctags
@@ -19,4 +19,5 @@ clean:
        for dir in $(DIRS); do \
                make -C $$dir clean; \
        done
+       rm bin/motonesemu bin/vgadisp bin/famicon-controller.jpg