]>
Commit | Line | Data |
---|---|---|
1 | # Purpose: makefile for ipc 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 | PROGRAMS = client server | |
8 | ||
9 | # implementation | |
10 | ||
11 | .SUFFIXES: .o .cpp | |
12 | ||
13 | .cpp.o : | |
14 | $(CXX) -c `wx-config --cxxflags` -o $@ $< | |
15 | ||
16 | all: $(PROGRAMS) | |
17 | ||
18 | client: client.o | |
19 | $(CXX) -o $@ $< `wx-config --libs` | |
20 | ||
21 | server: server.o | |
22 | $(CXX) -o $@ $< `wx-config --libs` | |
23 | ||
24 | clean: | |
25 | rm -f *.o $(PROGRAMS) |