]> git.saurik.com Git - wxWidgets.git/blob - samples/richedit/makefile.unx
reworked wxBuildOptions code to work even w/o function inlining
[wxWidgets.git] / samples / richedit / makefile.unx
1 # Purpose: makefile for richedit example (Unix)
2 # Created: 2000-03-14
3 # hand hacked from template file by Ron <ron@debian.org>
4
5 CXX = $(shell wx-config --cxx)
6
7 PROGRAM = wxLayout
8
9 OBJECTS = $(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o
10
11 # implementation
12
13 .SUFFIXES: .o .cpp
14
15 .cpp.o :
16 $(CXX) -c `wx-config --cxxflags` -o $@ $<
17
18 $(PROGRAM): $(OBJECTS)
19 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
20
21 clean:
22 rm -f *.o $(PROGRAM)