The Mac OS X build process will now automatically copy the .app bundles to "./" and move the binaries into them.

git-svn-id: https://svn.eduke32.com/eduke32@2385 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2012-02-25 02:59:51 +00:00
parent 35f18cb39b
commit c24049fe2a

View file

@ -286,6 +286,10 @@ ifeq (1,$(RELEASE))
$(STRIP) eduke32$(EXESUFFIX)
endif
endif
ifeq ($(PLATFORM),DARWIN)
cp -f "Apple/bundles/EDuke32.app" "./"
mv -f "eduke32$(EXESUFFIX)" "EDuke32.app/Contents/MacOS/"
endif
mapster32$(EXESUFFIX): $(EDITOROBJS) $(EOBJ)/$(EDITORLIB) $(EOBJ)/$(ENGINELIB) $(JAUDIOLIBDIR)/$(JAUDIOLIB)
$(LINK_STATUS)
@ -295,6 +299,10 @@ ifeq (1,$(RELEASE))
$(STRIP) mapster32$(EXESUFFIX)
endif
endif
ifeq ($(PLATFORM),DARWIN)
cp -f "Apple/bundles/Mapster32.app" "./"
mv -f "mapster32$(EXESUFFIX)" "Mapster32.app/Contents/MacOS/"
endif
include Makefile.deps
@ -402,7 +410,7 @@ $(RSRC)/editor_banner.c: $(RSRC)/build.bmp
# PHONIES
clean:
-rm -f $(OBJ)/* eduke32$(EXESUFFIX) eduke32$(EXESUFFIX).memmap mapster32$(EXESUFFIX) mapster32$(EXESUFFIX).memmap core* duke3d_w32$(EXESUFFIX) && $(MAKE) -C $(JAUDIOLIBDIR) clean && $(MAKE) -C $(ENETDIR) clean
-rm -f $(OBJ)/* eduke32$(EXESUFFIX) eduke32$(EXESUFFIX).memmap EDuke32.app mapster32$(EXESUFFIX) mapster32$(EXESUFFIX).memmap Mapster32.app core* duke3d_w32$(EXESUFFIX) && $(MAKE) -C $(JAUDIOLIBDIR) clean && $(MAKE) -C $(ENETDIR) clean
echo -n "" > $(OBJ)/keep.me
veryclean: clean