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

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

Capitalize the name of the Cocoa framework (this matters if the filesystem's case-sensitive. Ahem.)

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.