updated samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
25
samples/sockets/makefile.unx
Normal file
25
samples/sockets/makefile.unx
Normal file
@@ -0,0 +1,25 @@
|
||||
# Purpose: makefile for sockets example (Unix)
|
||||
# Created: 2000-03-14
|
||||
# hand hacked from template file by Ron <ron@debian.org>
|
||||
|
||||
CC = gcc
|
||||
|
||||
PROGRAMS = client server
|
||||
|
||||
# implementation
|
||||
|
||||
.SUFFIXES: .o .cpp
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c `wx-config --cflags` -o $@ $<
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
||||
client: client.o
|
||||
$(CC) -o $@ $< `wx-config --libs`
|
||||
|
||||
server: server.o
|
||||
$(CC) -o $@ $< `wx-config --libs`
|
||||
|
||||
clean:
|
||||
rm -f *.o $(PROGRAMS)
|
Reference in New Issue
Block a user