]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/samples/ogl/studio/makefile.unx
wxMutexGuiEnter/Leave didn't work because this file is compiled with wxUSE_GUI=0
[wxWidgets.git] / contrib / samples / ogl / studio / 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=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
21
22studio: $(OBJECTS)
23 $(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
24
25studio.o: studio.cpp
26 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
27
28cspalette.o: cspalette.cpp
29 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.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
37dialogs.o: dialogs.cpp
38 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
39
40mainfrm.o: mainfrm.cpp
41 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
42
43project.o: project.cpp
44 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
45
46shapes.o: shapes.cpp
47 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
48
49symbols.o: symbols.cpp
50 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
51
52csprint.o: csprint.cpp
53 $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp
54
55clean:
56 rm -f *.o studio