]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/samples/ogl/ogledit/makefile.unx
wxSystemSettings docs correction
[wxWidgets.git] / contrib / samples / ogl / ogledit / makefile.unx
... / ...
CommitLineData
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
15CXX = $(shell wx-config --cxx)
16WXCONFIG=../../../../wx-config
17WXINCLUDE=-I../../../../include -I../../../include
18WXLIB=-L../../../../lib -L../../../src/ogl
19
20OBJECTS=ogledit.o palette.o doc.o view.o
21
22ogledit: $(OBJECTS)
23 $(CXX) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
24
25ogledit.o: ogledit.cpp
26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
27
28palette.o: palette.cpp
29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c palette.cpp
30
31doc.o: doc.cpp
32 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
33
34view.o: view.cpp
35 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
36
37clean:
38 rm -f *.o ogledit