]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wxsocket/Makefile.in
Added further makefiles for wizard sample
[wxWidgets.git] / samples / wxsocket / Makefile.in
index 68ded4e305079b90088a0c0b1f4c643ffc399e82..96af3cf06ca01589320f1790530275b80cae09a5 100644 (file)
@@ -1,28 +1,36 @@
-# WXXT base directory
-WXBASEDIR=@WXBASEDIR@
-
-# set the OS type for compilation
-OS=@OS@
-# compile a library only
-RULE=bin2
-
-# define library name
-BIN_TARGET=client
-BIN2_TARGET=server
-# define library sources
-BIN_SRC= client.cpp
-BIN2_SRC= server.cpp
-
-#define library objects
-BIN_OBJ= client.o
-BIN2_OBJ= server.o
-
-# additional things needed to link
-BIN_LINK=
-BIN2_LINK=
-
-# additional things needed to compile
-ADD_COMPILE=
-
-# include the definitions now
-include ../../../template.mak
+#
+# File:                Makefile.in
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+# Copyright:   (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for wxsocket example (UNIX).
+
+top_srcdir = @top_srcdir@
+top_builddir = ../..
+program_dir = samples/wxsocket
+VPATH = :$(top_srcdir)/samples/wxsocket
+
+# 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
+