~ubuntu-dev/wxwidgets2.6/upstream-debian

« back to all changes in this revision

Viewing changes to contrib/samples/ogl/ogledit/makefile.unx

  • Committer: Daniel T Chen
  • Date: 2006-06-26 10:15:11 UTC
  • Revision ID: crimsun@ubuntu.com-20060626101511-a4436cec4c6d9b35
ImportĀ DebianĀ 2.6.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
15
CXX = $(shell wx-config --cxx)
 
16
WXCONFIG=../../../../wx-config
 
17
WXINCLUDE=-I../../../../include -I../../../include
 
18
WXLIB=-L../../../../lib -L../../../src/ogl
 
19
 
 
20
OBJECTS=ogledit.o palette.o doc.o view.o
 
21
 
 
22
ogledit: $(OBJECTS)
 
23
        $(CXX) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
 
24
 
 
25
ogledit.o: ogledit.cpp
 
26
        $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
 
27
 
 
28
palette.o: palette.cpp
 
29
        $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c palette.cpp
 
30
 
 
31
doc.o: doc.cpp
 
32
        $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
 
33
 
 
34
view.o: view.cpp
 
35
        $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
 
36
 
 
37
clean: 
 
38
        rm -f *.o ogledit