]>
Commit | Line | Data |
---|---|---|
367e57ec RL |
1 | # Purpose: makefile for richedit example (Unix) |
2 | # Created: 2000-03-14 | |
3 | # hand hacked from template file by Ron <ron@debian.org> | |
4 | ||
a6f762a6 | 5 | CXX = $(shell wx-config --cxx) |
367e57ec RL |
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 : | |
a6f762a6 | 16 | $(CXX) -c `wx-config --cxxflags` -o $@ $< |
367e57ec RL |
17 | |
18 | $(PROGRAM): $(OBJECTS) | |
a6f762a6 | 19 | $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` |
367e57ec RL |
20 | |
21 | clean: | |
22 | rm -f *.o $(PROGRAM) |