]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/studio/Makefile
Added extern "C" around winsock and moved it before "wx/msw/private.h"
[wxWidgets.git] / contrib / samples / ogl / studio / Makefile
CommitLineData
1fc25a89
JS
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
7b28757f 15CPP = gcc -g
1fc25a89
JS
16CC = gcc
17WXCONFIG=../../../../wx-config
18WXINCLUDE=-I../../../../include -I../../../include
281b0186 19WXLIB=-L../../../../lib -L../../../src/ogl
1fc25a89
JS
20
21OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
22
23studio: $(OBJECTS)
24 $(CPP) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
25
26studio.o: studio.cpp
27 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c studio.cpp
28
29cspalette.o: cspalette.cpp
30 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
31
32doc.o: doc.cpp
33 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
34
35view.o: view.cpp
36 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
37
38dialogs.o: dialogs.cpp
39 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
40
41mainfrm.o: mainfrm.cpp
42 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
43
44project.o: project.cpp
45 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c project.cpp
46
47shapes.o: shapes.cpp
48 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c shapes.cpp
49
50symbols.o: symbols.cpp
51 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c symbols.cpp
52
53csprint.o: csprint.cpp
54 $(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c csprint.cpp
55
56clean:
57 rm -f *.o studio