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../../../src/ogl
21 OBJECTS=ogledit.o palette.o doc.o view.o
24 $(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
26 ogledit.o: ogledit.cpp
27 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
29 palette.o: palette.cpp
30 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
33 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
36 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp