[138415] branches/gsoc15-pallet/Pallet

ksammons at macports.org ksammons at macports.org
Tue Jul 7 11:37:20 PDT 2015


Revision: 138415
          https://trac.macports.org/changeset/138415
Author:   ksammons at macports.org
Date:     2015-07-07 11:37:20 -0700 (Tue, 07 Jul 2015)
Log Message:
-----------
Pallet Branch: Updated the Makefile, allowing for building without the XCode GUI.

Modified Paths:
--------------
    branches/gsoc15-pallet/Pallet/Makefile
    branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate

Modified: branches/gsoc15-pallet/Pallet/Makefile
===================================================================
--- branches/gsoc15-pallet/Pallet/Makefile	2015-07-07 17:39:27 UTC (rev 138414)
+++ branches/gsoc15-pallet/Pallet/Makefile	2015-07-07 18:37:20 UTC (rev 138415)
@@ -1,22 +1,13 @@
-CC = gcc
-SOURCES = $(wildcard *.m *.c)
-FRAMEWORKS = -framework Foundation -framework AppKit -framework Cocoa -framework SenTestingKit -framework MacPorts -framework Growl
-LIBRARIES = -lobjc
-INCLUDE_FLAGS = -I/Users/mrappleseed/GSoC/gsoc15-pallet/MacPorts_Framework/ -I/opt/local/libexec/macports/include -L/opt/local/libexec/macports/lib -ltcl8.5
-CFLAGS = -Wall -arch i386 -g -v $(SOURCES)
-LDFLAGS = $(LIBRARIES) $(FRAMEWORKS) $(INCLUDE_FLAGS)
-OUT = -o Build/main
+CC = xcodebuild
+BUILDDIR = build
+FLAGS = build -project Pallet.xcodeproj -scheme Pallet-standalone -derivedDataPath $(BUILDDIR)
 
-all: $(SOURCES) $(OUT)
+all:
+	$(CC) $(FLAGS)
 
-$(OUT): $(OBJECTS)
-	$(CC) -o $(OBJECTS) $@ $(CFLAGS) $(LDFLAGS) $(OUT)
-
-.m.o:
-	$(CC) -c -Wall $< -o $@
-
 clean: 
-	$(RM) *.o *.gch *.swp .DS_Store main interp
+	$(CC) clean
+	rm -rf $(BUILDDIR)
 
 
 

Modified: branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate
===================================================================
(Binary files differ)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150707/023687dd/attachment.html>


More information about the macports-changes mailing list