]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/makefile.unx
replaced `wx-config --cflags` with `wx-config --cxxflags` and mentioned that
[wxWidgets.git] / contrib / samples / ogl / studio / makefile.unx
1 #
2 # File: Makefile
3 # Author: Julian Smart
4 # Created: 1999
5 # Updated:
6 # Copyright: (c) 2000 Julian Smart
7 #
8 # Makefile for OGL demo (GTK version)
9 #
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
22
23 studio: $(OBJECTS)
24 $(CPP) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
25
26 studio.o: studio.cpp
27 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
28
29 cspalette.o: cspalette.cpp
30 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
31
32 doc.o: doc.cpp
33 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
34
35 view.o: view.cpp
36 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
37
38 dialogs.o: dialogs.cpp
39 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
40
41 mainfrm.o: mainfrm.cpp
42 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
43
44 project.o: project.cpp
45 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
46
47 shapes.o: shapes.cpp
48 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
49
50 symbols.o: symbols.cpp
51 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
52
53 csprint.o: csprint.cpp
54 $(CPP) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp
55
56 clean:
57 rm -f *.o studio