From 02b303e1716b47ec9fd9fa6f6d50aec966074219 Mon Sep 17 00:00:00 2001 From: Thomas Davis Date: Thu, 22 Aug 2013 12:43:36 -0400 Subject: [PATCH] Cleaned up OSX makefile --- Makefile.osx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.osx b/Makefile.osx index 55b326e6..f3dee240 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -10,8 +10,6 @@ PACKAGE = Civetweb BUILD_DIR = out -INSTALL = install - CFLAGS += -DUSE_COCOA -mmacosx-version-min=10.4 -ObjC -arch i386 -arch x86_64 LDFLAGS += -framework Cocoa @@ -34,4 +32,4 @@ package: build hdiutil create $(PACKAGE)_$(CIVETWEB_VERSION).dmg -volname "$(PACKAGE) $(CIVETWEB_VERSION)" -srcfolder $(DMG_DIR) -ov @rm -rf $(DMG_DIR) -# V=`perl -lne '/define\s+CIVETWEB_VERSION\s+"(\S+)"/ and print $$1' $(LIB_SOURCES)`; DIR=dmg/Civetweb.app && rm -rf $$DIR && mkdir -p $$DIR/Contents/{MacOS,Resources} && install -m 644 build/civetweb_*.png build/civetweb.icns $$DIR/Contents/Resources/ && install -m 644 build/Info.plist $$DIR/Contents/ && install -m 755 Civetweb $$DIR/Contents/MacOS/ && ln -fs /Applications dmg/ ; hdiutil create Civetweb_$$V.dmg -volname "Civetweb $$V" -srcfolder dmg -ov #; rm -rf dmg +.PHONY: package