]>
Commit | Line | Data |
---|---|---|
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 | 15 | CXX = $(shell wx-config --cxx) |
f6bcfd97 BP |
16 | WXCONFIG=../../../../wx-config |
17 | WXINCLUDE=-I../../../../include -I../../../include | |
18 | WXLIB=-L../../../../lib -L../../../src/ogl | |
19 | ||
20 | OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o | |
1fc25a89 | 21 | |
f6bcfd97 | 22 | studio: $(OBJECTS) |
a6f762a6 | 23 | $(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl |
1fc25a89 | 24 | |
f6bcfd97 | 25 | studio.o: studio.cpp |
a6f762a6 | 26 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp |
1fc25a89 | 27 | |
f6bcfd97 | 28 | cspalette.o: cspalette.cpp |
a6f762a6 | 29 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.cpp |
1fc25a89 | 30 | |
f6bcfd97 | 31 | doc.o: doc.cpp |
a6f762a6 | 32 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp |
1fc25a89 | 33 | |
f6bcfd97 | 34 | view.o: view.cpp |
a6f762a6 | 35 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp |
1fc25a89 | 36 | |
f6bcfd97 | 37 | dialogs.o: dialogs.cpp |
a6f762a6 | 38 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp |
1fc25a89 | 39 | |
f6bcfd97 | 40 | mainfrm.o: mainfrm.cpp |
a6f762a6 | 41 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp |
1fc25a89 | 42 | |
f6bcfd97 | 43 | project.o: project.cpp |
a6f762a6 | 44 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp |
1fc25a89 | 45 | |
f6bcfd97 | 46 | shapes.o: shapes.cpp |
a6f762a6 | 47 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp |
1fc25a89 | 48 | |
f6bcfd97 | 49 | symbols.o: symbols.cpp |
a6f762a6 | 50 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp |
1fc25a89 | 51 | |
f6bcfd97 | 52 | csprint.o: csprint.cpp |
a6f762a6 | 53 | $(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp |
1fc25a89 | 54 | |
f6bcfd97 BP |
55 | clean: |
56 | rm -f *.o studio |