a6f762a646
"CXX = $(shell wx-config --cxx)" in all makefile.unx git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
39 lines
939 B
Plaintext
39 lines
939 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.
|
|
#
|
|
|
|
CXX = $(shell wx-config --cxx)
|
|
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)
|
|
$(CXX) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
|
|
|
ogledit.o: ogledit.cpp
|
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
|
|
|
|
palette.o: palette.cpp
|
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c palette.cpp
|
|
|
|
doc.o: doc.cpp
|
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
|
|
|
view.o: view.cpp
|
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
|
|
|
|
clean:
|
|
rm -f *.o ogledit
|