]> git.saurik.com Git - wxWidgets.git/commitdiff
makefile updates
authorGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 19 Jan 2000 16:43:12 +0000 (16:43 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 19 Jan 2000 16:43:12 +0000 (16:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/ipc/Makefile.in [new file with mode: 0644]
samples/sockets/Makefile.in

diff --git a/samples/ipc/Makefile.in b/samples/ipc/Makefile.in
new file mode 100644 (file)
index 0000000..304f3a6
--- /dev/null
@@ -0,0 +1,39 @@
+#
+# File:                Makefile.in
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+# Copyright:   (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for ipc example (UNIX).
+
+top_srcdir = @top_srcdir@
+top_builddir = ../..
+program_dir = samples/ipc
+# 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 ':'
+VPATH = @PATH_IFS@$(top_srcdir)/samples/ipc # ':' for autoconf
+
+# Clears all default suffixes
+.SUFFIXES:     .o .cpp .c .cxx
+
+.cpp.o :
+       $(CC) -c $(CPPFLAGS) -o $@ $<
+
+# Set defaults from configure
+include ../../src/make.env
+
+all:   client server
+
+client:        client.o ../../lib/@WX_TARGET_LIBRARY@
+       $(CC) $(LDFLAGS) -o client client.o $(LDLIBS)
+
+server:        server.o ../../lib/@WX_TARGET_LIBRARY@
+       $(CC) $(LDFLAGS) -o server server.o $(LDLIBS)
+
+clean:
+       rm -f $(OBJECTS) $(PROGRAM) core
+
index ed5f74b03dc779080be2878fe3abe7f6a123e9c2..936b7b8e5ee80c621b7dc86333d11548a6173c12 100644 (file)
 
 top_srcdir = @top_srcdir@
 top_builddir = ../..
-program_dir = samples/wxsocket
+program_dir = samples/sockets
 # 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 ':'
-VPATH = @PATH_IFS@$(top_srcdir)/samples/wxsocket # ':' for autoconf
+VPATH = @PATH_IFS@$(top_srcdir)/samples/sockets # ':' for autoconf
 
 # Clears all default suffixes
 .SUFFIXES:     .o .cpp .c .cxx