]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/studio/makefile.unx
reversed change
[wxWidgets.git] / contrib / samples / ogl / studio / 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=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
1fc25a89 21
f6bcfd97 22studio: $(OBJECTS)
a6f762a6 23 $(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
1fc25a89 24
f6bcfd97 25studio.o: studio.cpp
a6f762a6 26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
1fc25a89 27
f6bcfd97 28cspalette.o: cspalette.cpp
a6f762a6 29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.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 37dialogs.o: dialogs.cpp
a6f762a6 38 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
1fc25a89 39
f6bcfd97 40mainfrm.o: mainfrm.cpp
a6f762a6 41 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
1fc25a89 42
f6bcfd97 43project.o: project.cpp
a6f762a6 44 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
1fc25a89 45
f6bcfd97 46shapes.o: shapes.cpp
a6f762a6 47 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
1fc25a89 48
f6bcfd97 49symbols.o: symbols.cpp
a6f762a6 50 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
1fc25a89 51
f6bcfd97 52csprint.o: csprint.cpp
a6f762a6 53 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp
1fc25a89 54
f6bcfd97
BP
55clean:
56 rm -f *.o studio