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