]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.unx
If the filename is given in the ctor then call LoadFile
[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)