]> git.saurik.com Git - wxWidgets.git/blob - samples/richedit/makefile.unx
replaced `wx-config --cflags` with `wx-config --cxxflags` and mentioned that
[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 CC = gcc
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 $(CC) -c `wx-config --cxxflags` -o $@ $<
17
18 $(PROGRAM): $(OBJECTS)
19 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
20
21 clean:
22 rm -f *.o $(PROGRAM)