aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan 'Swingflip' Hamlin2018-06-26 13:11:35 +0100
committerRyan 'Swingflip' Hamlin2018-06-26 13:11:35 +0100
commit736b1d09038217ee7793f7544973cca88f373c43 (patch)
tree978f0e17db217bf6df72c6d676be9af2534fe586 /Makefile
parent3c5dd789610b7c488c04285bc022b218b7b31c8c (diff)
downloadsnesemu-736b1d09038217ee7793f7544973cca88f373c43.tar.gz
snesemu-736b1d09038217ee7793f7544973cca88f373c43.tar.bz2
snesemu-736b1d09038217ee7793f7544973cca88f373c43.zip
derped the make.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 8396886..f12da07 100644
--- a/Makefile
+++ b/Makefile
@@ -345,15 +345,6 @@ else
LD = $(CC)
endif
-ifeq ($(platform),nintendoc)
- @echo "** BUILDING HAKCHI HMOD PACKAGE **"
- mkdir -p hakchi/etc/libretro/core/ hakchi/etc/libretro/info/ hakchi/etc/preinit.d/
- rm -f hakchi/etc/libretro/info/*
- cp $(TARGET_NAME)_libretro.so hakchi/etc/libretro/core/
- cd hakchi/etc/libretro/info/; wget https://buildbot.libretro.com/assets/frontend/info/$(TARGET_NAME)_libretro.info
- cd hakchi/; tar -czvf "CORE_$(TARGET_NAME).hmod" *
-endif
-
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $(OBJOUT)$@ $<
@@ -374,6 +365,16 @@ else
$(CC) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) $(LIBS)
endif
+ifeq ($(platform),nintendoc)
+ @echo "** BUILDING HAKCHI HMOD PACKAGE **"
+ mkdir -p hakchi/etc/libretro/core/ hakchi/etc/libretro/info/ hakchi/etc/preinit.d/
+ rm -f hakchi/etc/libretro/info/*
+ cp $(TARGET_NAME)_libretro.so hakchi/etc/libretro/core/
+ cd hakchi/etc/libretro/info/; wget https://buildbot.libretro.com/assets/frontend/info/$(TARGET_NAME)_libretro.info
+ cd hakchi/; tar -czvf "CORE_$(TARGET_NAME).hmod" *
+endif
+
+
clean:
rm -f $(TARGET) $(OBJECTS) hakchi/CORE_$(TARGET_NAME).hmod