]>
Commit | Line | Data |
---|---|---|
d7463f75 JS |
1 | # makefile |
2 | ||
3 | CXXFLAGS = `wx-config --cxxflags` | |
4 | LDFLAGS = `wx-config --libs` | |
5 | ||
6 | PROGRAM = wxconfigtool | |
7 | ||
8 | OBJECTS = $(TARGET).o wxconfigtool.o appsettings.o configitem.o \ | |
9 | configitemselector.o configtooldoc.o configtoolview.o configtree.o \ | |
10 | custompropertydialog.o htmlparser.o mainframe.o propeditor.o \ | |
11 | property.o settingsdialog.o utils.o | |
12 | ||
13 | # implementation | |
14 | ||
15 | .SUFFIXES: .o .cpp | |
16 | ||
17 | .cpp.o : | |
18 | $(CXX) -c $(CXXFLAGS) -o $@ $< | |
19 | ||
20 | all: $(PROGRAM) | |
21 | ||
22 | $(PROGRAM): $(OBJECTS) | |
23 | $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS) | |
24 | ||
25 | clean: | |
26 | rm -f *.o $(PROGRAM) | |
27 |