6 # Copyright: (c) 1998 Julian Smart
10 # Makefile for wxsocket example (UNIX).
12 top_srcdir = @top_srcdir@
15 VPATH = :$(top_srcdir)/samples/wxsocket
17 # Clears all default suffixes
18 .SUFFIXES: .o .cpp .c .cxx
21 $(CC) -c $(CPPFLAGS) -o $@ $<
23 # Set defaults from configure
24 include ../../src/make.env
28 client: client.o ../../lib/@WX_TARGET_LIBRARY@
29 $(CC) $(LDFLAGS) -o client client.o $(LDLIBS)
31 server: server.o ../../lib/@WX_TARGET_LIBRARY@
32 $(CC) $(LDFLAGS) -o server server.o $(LDLIBS)
35 rm -f $(OBJECTS) $(PROGRAM) core