]>
Commit | Line | Data |
---|---|---|
1fc25a89 | 1 | # |
f6bcfd97 | 2 | # File: Makefile |
1fc25a89 | 3 | # Author: Julian Smart |
f6bcfd97 | 4 | # Created: 1999 |
1fc25a89 | 5 | # Updated: |
f6bcfd97 | 6 | # Copyright: (c) 2000 Julian Smart |
1fc25a89 | 7 | # |
f6bcfd97 | 8 | # Makefile for OGL demo (GTK version) |
1fc25a89 | 9 | # |
f6bcfd97 BP |
10 | # This makefile requires wxWindows/GTK to be |
11 | # installed (possibly using "make install") | |
12 | # on your system. | |
13 | # | |
14 | ||
15 | CPP = gcc -g | |
16 | CC = gcc | |
17 | WXCONFIG=../../../../wx-config | |
18 | WXINCLUDE=-I../../../../include -I../../../include | |
19 | WXLIB=-L../../../../lib -L../../../src/ogl | |
20 | ||
21 | OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o | |
1fc25a89 | 22 | |
f6bcfd97 BP |
23 | studio: $(OBJECTS) |
24 | $(CPP) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl | |
1fc25a89 | 25 | |
f6bcfd97 BP |
26 | studio.o: studio.cpp |
27 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c studio.cpp | |
1fc25a89 | 28 | |
f6bcfd97 BP |
29 | cspalette.o: cspalette.cpp |
30 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c cspalette.cpp | |
1fc25a89 | 31 | |
f6bcfd97 BP |
32 | doc.o: doc.cpp |
33 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp | |
1fc25a89 | 34 | |
f6bcfd97 BP |
35 | view.o: view.cpp |
36 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp | |
1fc25a89 | 37 | |
f6bcfd97 BP |
38 | dialogs.o: dialogs.cpp |
39 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c dialogs.cpp | |
1fc25a89 | 40 | |
f6bcfd97 BP |
41 | mainfrm.o: mainfrm.cpp |
42 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp | |
1fc25a89 | 43 | |
f6bcfd97 BP |
44 | project.o: project.cpp |
45 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c project.cpp | |
1fc25a89 | 46 | |
f6bcfd97 BP |
47 | shapes.o: shapes.cpp |
48 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c shapes.cpp | |
1fc25a89 | 49 | |
f6bcfd97 BP |
50 | symbols.o: symbols.cpp |
51 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c symbols.cpp | |
1fc25a89 | 52 | |
f6bcfd97 BP |
53 | csprint.o: csprint.cpp |
54 | $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c csprint.cpp | |
1fc25a89 | 55 | |
f6bcfd97 BP |
56 | clean: |
57 | rm -f *.o studio |