]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/ogledit/makefile.unx
compilation fix for Watcom
[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
a6f762a6 15CXX = $(shell wx-config --cxx)
f6bcfd97
BP
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)
a6f762a6 23 $(CXX) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
1fc25a89 24
f6bcfd97 25ogledit.o: ogledit.cpp
a6f762a6 26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
1fc25a89 27
f6bcfd97 28palette.o: palette.cpp
a6f762a6 29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c palette.cpp
1fc25a89 30
f6bcfd97 31doc.o: doc.cpp
a6f762a6 32 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
1fc25a89 33
f6bcfd97 34view.o: view.cpp
a6f762a6 35 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
1fc25a89 36
f6bcfd97
BP
37clean:
38 rm -f *.o ogledit