]> git.saurik.com Git - wxWidgets.git/blob - samples/ipc/makefile.unx
240a4d8d7b4832b2c6c9fdb756fc206fd8dfd4b8
[wxWidgets.git] / samples / ipc / makefile.unx
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 CC = gcc
6
7 PROGRAMS = client server
8
9 # implementation
10
11 .SUFFIXES: .o .cpp
12
13 .cpp.o :
14 $(CC) -c `wx-config --cxxflags` -o $@ $<
15
16 all: $(PROGRAMS)
17
18 client: client.o
19 $(CC) -o $@ $< `wx-config --libs`
20
21 server: server.o
22 $(CC) -o $@ $< `wx-config --libs`
23
24 clean:
25 rm -f *.o $(PROGRAMS)