Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > d9ec2159ccbfffd352edf0678f7b617a > files > 912

libwxgtk2.4-devel-2.4.0-3mdk.i586.rpm

# Purpose: makefile for sockets example (Unix)
# Created: 2000-03-14
# hand hacked from template file by Ron <ron@debian.org>

CXX = $(shell wx-config --cxx)

PROGRAMS = client server

# implementation

.SUFFIXES:	.o .cpp

.cpp.o :
	$(CXX) -c `wx-config --cxxflags` -o $@ $<

all: $(PROGRAMS)

client: client.o
	$(CXX) -o $@ $< `wx-config --libs`

server: server.o
	$(CXX) -o $@ $< `wx-config --libs`

clean:
	rm -f *.o $(PROGRAMS)