Rudimentary makefile for building the executable to go into a

fullblown OSX application. It is starting to work, but building
the application bundle is still handwork, and we need a minimal
readme file too.
This commit is contained in:
Jack Jansen 2001-09-05 22:09:50 +00:00
parent dff7770b7f
commit 75ed167527
1 changed files with 18 additions and 0 deletions

18
Mac/OSX/Makefile Normal file
View File

@ -0,0 +1,18 @@
PYTHONBUILDDIR=../..
OPT=-g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -fno-common -dynamic
INCLUDES=-I$(PYTHONBUILDDIR) -I$(PYTHONBUILDDIR)/Include \
-I$(PYTHONBUILDDIR)/Mac/Include
DEFINES=-DHAVE_CONFIG_H
CFLAGS=$(OPT) $(DEFINES) $(INCLUDES)
LDFLAGS=-framework System -framework Python -framework Carbon \
-framework Foundation
CC=cc
LD=cc
OBJECTS=$(PYTHONBUILDDIR)/Mac/Python/macmain.o \
$(PYTHONBUILDDIR)/Mac/Python/macgetargv.o
pythonforbundle: $(OBJECTS)
$(LD) $(LDFLAGS) $(OBJECTS) -o pythonforbundle