added -Wall to CFLAGS added Makefile.in's for ogl samples more spring cleaning of contrib makefiles contrib libs now go in $(top_builddir)/lib removed duplicate $(APPEXTRADEFS) from compile flags fixed makelib.env install target to install headers too More changes to Debian packaging: using system libs now added runtime and -dev packages for contrib libs split headers to a separate package to make Base independant of gui libs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
40 lines
922 B
Plaintext
40 lines
922 B
Plaintext
#
|
|
# File: Makefile
|
|
# Author: Julian Smart
|
|
# Created: 1999
|
|
# Updated:
|
|
# Copyright: (c) 2000 Julian Smart
|
|
#
|
|
# Makefile for OGL demo (GTK version)
|
|
#
|
|
# 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
|
|
|
|
ogledit.o: ogledit.cpp
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
|
|
|
|
palette.o: palette.cpp
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
|
|
|
|
doc.o: doc.cpp
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
|
|
|
view.o: view.cpp
|
|
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
|
|
|
|
clean:
|
|
rm -f *.o ogledit
|