]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.unx
more wxFD_XXX renamings (patch 1488371)
[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
a6f762a6 5CXX = $(shell wx-config --cxx)
367e57ec
RL
6
7PROGRAMS = 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
16all: $(PROGRAMS)
17
18client: client.o
a6f762a6 19 $(CXX) -o $@ $< `wx-config --libs`
367e57ec
RL
20
21server: server.o
a6f762a6 22 $(CXX) -o $@ $< `wx-config --libs`
367e57ec
RL
23
24clean:
25 rm -f *.o $(PROGRAMS)