]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/makefile.unx
reversed change
[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 CXX = $(shell wx-config --cxx)
16 WXCONFIG=../../../../wx-config
17 WXINCLUDE=-I../../../../include -I../../../include
18 WXLIB=-L../../../../lib -L../../../src/ogl
19
20 OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
21
22 studio: $(OBJECTS)
23 $(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
24
25 studio.o: studio.cpp
26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
27
28 cspalette.o: cspalette.cpp
29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
30
31 doc.o: doc.cpp
32 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
33
34 view.o: view.cpp
35 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
36
37 dialogs.o: dialogs.cpp
38 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
39
40 mainfrm.o: mainfrm.cpp
41 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
42
43 project.o: project.cpp
44 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
45
46 shapes.o: shapes.cpp
47 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
48
49 symbols.o: symbols.cpp
50 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
51
52 csprint.o: csprint.cpp
53 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp
54
55 clean:
56 rm -f *.o studio