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")
17 WXCONFIG=../../../../wx-config
18 WXINCLUDE=-I../../../../include -I../../../include
19 WXLIB=-L../../../../lib -L../../../lib
21 OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
24 $(CPP) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
27 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c studio.cpp
29 cspalette.o: cspalette.cpp
30 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
33 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
36 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
38 dialogs.o: dialogs.cpp
39 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
41 mainfrm.o: mainfrm.cpp
42 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
44 project.o: project.cpp
45 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c project.cpp
48 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c shapes.cpp
50 symbols.o: symbols.cpp
51 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c symbols.cpp
53 csprint.o: csprint.cpp
54 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c csprint.cpp