1999-08-14 05:41:49 -04:00
|
|
|
#
|
|
|
|
# File: Makefile.in
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1998
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1998 Julian Smart
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile for wxsocket example (UNIX).
|
|
|
|
|
2000-01-31 13:31:18 -05:00
|
|
|
top_srcdir = @top_srcdir@/..
|
1999-08-14 05:41:49 -04:00
|
|
|
top_builddir = ../..
|
2000-01-19 11:43:12 -05:00
|
|
|
program_dir = samples/sockets
|
2000-01-14 17:24:27 -05:00
|
|
|
# the comment at the end of the next line is needed because otherwise autoconf
|
|
|
|
# would remove this line completely - it contains a built-in hack to remove
|
|
|
|
# any VPATH assignment not containing ':'
|
2000-01-19 11:43:12 -05:00
|
|
|
VPATH = @PATH_IFS@$(top_srcdir)/samples/sockets # ':' for autoconf
|
1999-08-14 05:41:49 -04:00
|
|
|
|
|
|
|
# Clears all default suffixes
|
|
|
|
.SUFFIXES: .o .cpp .c .cxx
|
|
|
|
|
|
|
|
.cpp.o :
|
|
|
|
$(CC) -c $(CPPFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
# Set defaults from configure
|
|
|
|
include ../../src/make.env
|
|
|
|
|
2000-01-23 13:33:10 -05:00
|
|
|
all: client@PROGRAM_EXT@ server@PROGRAM_EXT@
|
1999-08-14 05:41:49 -04:00
|
|
|
|
2000-01-23 13:33:10 -05:00
|
|
|
client@PROGRAM_EXT@: client.o ../../lib/@WX_TARGET_LIBRARY@
|
|
|
|
$(CC) $(LDFLAGS) -o client@PROGRAM_EXT@ client.o $(LDLIBS)
|
1999-08-14 05:41:49 -04:00
|
|
|
|
2000-01-23 13:33:10 -05:00
|
|
|
server@PROGRAM_EXT@: server.o ../../lib/@WX_TARGET_LIBRARY@
|
|
|
|
$(CC) $(LDFLAGS) -o server@PROGRAM_EXT@ server.o $(LDLIBS)
|
1999-08-14 05:41:49 -04:00
|
|
|
|
|
|
|
clean:
|
2000-01-23 13:33:10 -05:00
|
|
|
rm -f client@PROGRAM_EXT@ server@PROGRAM_EXT@ client.o server.o core
|
1999-08-14 05:41:49 -04:00
|
|
|
|