-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
69 lines (57 loc) · 1.88 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
CC = g++
LD = g++
CFLAGS = -c -Wall -fno-elide-constructors -Iincludes
LFLAGS = -Wall -F/SDL.framework -framework SDL
OBJ_CFLAGS = -c -Wall -Iincludes
PROG = p6exe
GUI_LIB_CPPS := $(wildcard gui/*.cpp)
GUI_LIB_H := $(wildcard gui/*.h)
PROJ_CPPS := $(wildcard *.cpp)
PROJ_H := $(wildcard *.h)
OBJS = Compatibility.o GUIApp.o GUIAudio.o GUIController.o GUIImage.o GUIImageCache.o GUIImageView.o GUILetter.o GUIMsg.o GUIScrollView.o GUISpreadSheet.o GUITextViews.o GUITimer.o GUIUtility.o GUIValBox.o GUIView.o GUIWindow.o GameDisplay.o Letter.o NewNewGUITextView.o SDLMain.o
default: $(OBJS)
Compatibility.o: Compatibility.cpp
$(CC) $(CFLAGS) Compatibility.cpp
GUIApp.o: GUIApp.cpp
$(CC) $(CFLAGS) GUIApp.cpp
GUIAudio.o: GUIAudio.cpp
$(CC) $(CFLAGS) GUIAudio.cpp
GUIController.o: GUIController.cpp
$(CC) $(CFLAGS) GUIController.cpp
GUIImage.o: GUIImage.cpp
$(CC) $(CFLAGS) GUIImage.cpp
GUIImageCache.o: GUIImageCache.cpp
$(CC) $(CFLAGS) GUIImageCache.cpp
GUIImageView.o: GUIImageView.cpp
$(CC) $(CFLAGS) GUIImageView.cpp
GUILetter.o: GUILetter.cpp
$(CC) $(CFLAGS) GUILetter.cpp
GUIMsg.o: GUIMsg.cpp
$(CC) $(CFLAGS) GUIMsg.cpp
GUIScrollView.o: GUIScrollView.cpp
$(CC) $(CFLAGS) GUIScrollView.cpp
GUISpreadSheet.o: GUISpreadSheet.cpp
$(CC) $(CFLAGS) GUISpreadSheet.cpp
GUITextViews.o: GUITextViews.cpp
$(CC) $(CFLAGS) GUITextViews.cpp
GUITimer.o: GUITimer.cpp
$(CC) $(CFLAGS) GUITimer.cpp
GUIUtility.o: GUIUtility.cpp
$(CC) $(CFLAGS) GUIUtility.cpp
GUIValBox.o: GUIValBox.cpp
$(CC) $(CFLAGS) GUIValBox.cpp
GUIView.o: GUIView.cpp
$(CC) $(CFLAGS) GUIView.cpp
GUIWindow.o: GUIWindow.cpp
$(CC) $(CFLAGS) GUIWindow.cpp
GameDisplay.o: GameDisplay.cpp
$(CC) $(CFLAGS) GameDisplay.cpp
Letter.o: Letter.cpp
$(CC) $(CFLAGS) Letter.cpp
NewNewGUITextView.o: NewNewGUITextView.cpp
$(CC) $(CFLAGS) NewNewGUITextView.cpp
# Objective-C source
SDLMain.o: SDLMain.m
gcc $(OBJ_CFLAGS) SDLMain.m
clean:
rm -f *.o