6 # Copyright: (c) 2000 Julian Smart
8 # Makefile for OGL demo (GTK version)
10 # This makefile requires wxWindows/GTK to be
11 # installed (possibly using "make install")
15 CXX = $(shell wx-config --cxx)
16 WXCONFIG=../../../../wx-config
17 WXINCLUDE=-I../../../../include -I../../../include
18 WXLIB=-L../../../../lib -L../../../src/ogl
20 OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
23 $(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
28 cspalette.o: cspalette.cpp
29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
32 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
35 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
37 dialogs.o: dialogs.cpp
38 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
40 mainfrm.o: mainfrm.cpp
41 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
43 project.o: project.cpp
44 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
47 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
49 symbols.o: symbols.cpp
50 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
52 csprint.o: csprint.cpp
53 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp