]> git.saurik.com Git - wxWidgets.git/blob - samples/sockets/makefile.unx
updated opengl
[wxWidgets.git] / samples / sockets / makefile.unx
1 # Purpose: makefile for sockets 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 --cflags` -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)