X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..cb34a6eeacff2ff63ebca22c27f54a421f726737:/samples/wxsocket/Makefile.in?ds=sidebyside diff --git a/samples/wxsocket/Makefile.in b/samples/wxsocket/Makefile.in index 68ded4e305..96af3cf06c 100644 --- a/samples/wxsocket/Makefile.in +++ b/samples/wxsocket/Makefile.in @@ -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 +