mirror of
https://github.com/macports/pallet.git
synced 2026-07-12 18:18:47 -07:00
This should fix building MacPorts.framework with newer versions of Xcode. git-svn-id: https://svn.macports.org/repository/macports/branches/gsoc15-pallet@143486 d073be05-634f-4543-b044-5fe20cf6d1d6
23 lines
555 B
Makefile
23 lines
555 B
Makefile
CC = gcc
|
|
SOURCES = $(*.m *.c)
|
|
FRAMEWORKS = -framework Foundation -framework AppKit -framework Cocoa -framework MacPorts -framework Growl
|
|
LIBRARIES = -lobjc
|
|
INCLUDE_FLAGS = -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
|
|
|
|
all: $(SOURCES) $(OUT)
|
|
|
|
$(OUT): $(OBJECTS)
|
|
$(CC) -o $(OBJECTS) $@ $(CFLAGS) $(LDFLAGS) $(OUT)
|
|
|
|
.m.o:
|
|
$(CC) -c -Wall $< -o $@
|
|
|
|
clean:
|
|
$(RM) *.o *.gch *.swp .DS_Store main interp
|
|
|
|
|
|
|