]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/ogledit/Makefile
Mmedia, OGL lib directory changes; omitted naughty wxGA_SMOOTH style from wxProgressD...
[wxWidgets.git] / contrib / samples / ogl / ogledit / Makefile
CommitLineData
1fc25a89
JS
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
7b28757f 15CPP = gcc -g
1fc25a89
JS
16CC = gcc
17WXCONFIG=../../../../wx-config
18WXINCLUDE=-I../../../../include -I../../../include
19WXLIB=-L../../../../lib -L../../../lib
20
21OBJECTS=ogledit.o palette.o doc.o view.o
22
23ogledit: $(OBJECTS)
24 $(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
25
26ogledit.o: ogledit.cpp
27 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
28
29palette.o: palette.cpp
30 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
31
32doc.o: doc.cpp
33 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
34
35view.o: view.cpp
36 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
37
38clean:
39 rm -f *.o ogledit