source: trunk/source/cocoa-ide/altconsole/Makefile @ 12326

Last change on this file since 12326 was 12326, checked in by gb, 10 years ago

Use gcc-4.0 explicitly; target OSX 10.4, force a 32-bit compile.

File size: 1.0 KB
Line 
1#
2# $Log: Makefile,v $
3# Revision 1.1.1.1  2003/11/17 07:14:42  gb
4# initial checkin
5#
6#
7
8
9APPBASE=.
10OBJECTS=main.o AltConsoleDocument.o AltConsoleDocumentController.o
11RESOURCES=resource/MainMenu.nib resource/AltConsole.nib resource/Credits.rtf resource/InfoPlist.strings resource/Clear.tiff
12CC=gcc-4.0
13
14CFLAGS=-g -O -mmacosx-version-min=10.4 -m32 -Wno-protocol
15
16AltConsole: $(OBJECTS)
17        $(CC) $(CFLAGS) -o $@ $(OBJECTS) -framework cocoa
18
19$(APPBASE)/AltConsole.app: AltConsole $(RESOURCES) Info.plist
20        mkdir -p $(APPBASE)
21        rm -rf $(APPBASE)/AltConsole.app
22        mkdir -p $(APPBASE)/AltConsole.app/Contents/Resources/English.lproj
23        cp -r -p $(RESOURCES) $(APPBASE)/AltConsole.app/Contents/Resources/English.lproj
24        mkdir -p $(APPBASE)/AltConsole.app/Contents/MacOS
25        cp -p AltConsole $(APPBASE)/AltConsole.app/Contents/MacOS
26        cp -p Info.plist $(APPBASE)/AltConsole.app/Contents/
27        touch $(APPBASE)/AltConsole.app
28
29install: $(APPBASE)/AltConsole.app
30
31clean:
32        rm -f AltConsole $(OBJECTS) *~ #*
33
34remove: clean
35        rm -rf $(APPBASE)/AltConsole.app
Note: See TracBrowser for help on using the repository browser.