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