]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/ogledit/makefile.unx
wxMGL bugfixes
[wxWidgets.git] / contrib / samples / ogl / ogledit / makefile.unx
CommitLineData
1fc25a89 1#
f6bcfd97 2# File: Makefile
1fc25a89 3# Author: Julian Smart
f6bcfd97 4# Created: 1999
1fc25a89 5# Updated:
f6bcfd97 6# Copyright: (c) 2000 Julian Smart
1fc25a89 7#
f6bcfd97 8# Makefile for OGL demo (GTK version)
1fc25a89 9#
f6bcfd97
BP
10# This makefile requires wxWindows/GTK to be
11# installed (possibly using "make install")
12# on your system.
13#
14
15CPP = gcc -g
16CC = gcc
17WXCONFIG=../../../../wx-config
18WXINCLUDE=-I../../../../include -I../../../include
19WXLIB=-L../../../../lib -L../../../src/ogl
20
21OBJECTS=ogledit.o palette.o doc.o view.o
22
23ogledit: $(OBJECTS)
24 $(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
1fc25a89 25
f6bcfd97
BP
26ogledit.o: ogledit.cpp
27 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
1fc25a89 28
f6bcfd97
BP
29palette.o: palette.cpp
30 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
1fc25a89 31
f6bcfd97
BP
32doc.o: doc.cpp
33 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
1fc25a89 34
f6bcfd97
BP
35view.o: view.cpp
36 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
1fc25a89 37
f6bcfd97
BP
38clean:
39 rm -f *.o ogledit