Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > f991ed2d565451d4c13b5c7fca6ecab1 > files > 972

libwxgtk2.4-devel-2.4.2-8mdk.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)