diff options
author | Ryan 'Swingflip' Hamlin | 2018-06-26 13:11:35 +0100 |
---|---|---|
committer | Ryan 'Swingflip' Hamlin | 2018-06-26 13:11:35 +0100 |
commit | 736b1d09038217ee7793f7544973cca88f373c43 (patch) | |
tree | 978f0e17db217bf6df72c6d676be9af2534fe586 /Makefile | |
parent | 3c5dd789610b7c488c04285bc022b218b7b31c8c (diff) | |
download | snesemu-736b1d09038217ee7793f7544973cca88f373c43.tar.gz snesemu-736b1d09038217ee7793f7544973cca88f373c43.tar.bz2 snesemu-736b1d09038217ee7793f7544973cca88f373c43.zip |
derped the make.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |