]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.unx
updates for swig generated code
[wxWidgets.git] / samples / sockets / makefile.unx
CommitLineData
367e57ec
RL
1# Purpose: makefile for sockets example (Unix)
2# Created: 2000-03-14
3# hand hacked from template file by Ron <ron@debian.org>
4
5CC = gcc
6
7PROGRAMS = client server
8
9# implementation
10
11.SUFFIXES: .o .cpp
12
13.cpp.o :
14 $(CC) -c `wx-config --cflags` -o $@ $<
15
16all: $(PROGRAMS)
17
18client: client.o
19 $(CC) -o $@ $< `wx-config --libs`
20
21server: server.o
22 $(CC) -o $@ $< `wx-config --libs`
23
24clean:
25 rm -f *.o $(PROGRAMS)