2000-03-03 06:25:10 -05:00
|
|
|
#
|
2000-07-15 15:51:35 -04:00
|
|
|
# File: Makefile
|
2000-03-03 06:25:10 -05:00
|
|
|
# Author: Julian Smart
|
2000-07-15 15:51:35 -04:00
|
|
|
# Created: 1999
|
2000-03-03 06:25:10 -05:00
|
|
|
# Updated:
|
2000-07-15 15:51:35 -04:00
|
|
|
# Copyright: (c) 2000 Julian Smart
|
2000-03-03 06:25:10 -05:00
|
|
|
#
|
2000-07-15 15:51:35 -04:00
|
|
|
# Makefile for OGL demo (GTK version)
|
2000-03-03 06:25:10 -05:00
|
|
|
#
|
2000-07-15 15:51:35 -04:00
|
|
|
# This makefile requires wxWindows/GTK to be
|
|
|
|
# installed (possibly using "make install")
|
|
|
|
# on your system.
|
|
|
|
#
|
|
|
|
|
|
|
|
CPP = gcc -g
|
|
|
|
CC = gcc
|
|
|
|
WXCONFIG=../../../../wx-config
|
|
|
|
WXINCLUDE=-I../../../../include -I../../../include
|
|
|
|
WXLIB=-L../../../../lib -L../../../src/ogl
|
|
|
|
|
|
|
|
OBJECTS=ogledit.o palette.o doc.o view.o
|
|
|
|
|
|
|
|
ogledit: $(OBJECTS)
|
|
|
|
$(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
2000-03-03 06:25:10 -05:00
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
ogledit.o: ogledit.cpp
|
|
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
|
2000-03-03 06:25:10 -05:00
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
palette.o: palette.cpp
|
|
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
|
2000-03-03 06:25:10 -05:00
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
doc.o: doc.cpp
|
|
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
2000-03-03 06:25:10 -05:00
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
view.o: view.cpp
|
|
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
|
2000-03-03 06:25:10 -05:00
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
clean:
|
|
|
|
rm -f *.o ogledit
|