]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/Makefile.in
added workaround for GTK+ focus_out bug (and removed Vaclav's mouse capture stack...
[wxWidgets.git] / samples / sockets / Makefile.in
CommitLineData
549c6f67
RR
1#
2# File: Makefile.in
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998 Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile for wxsocket example (UNIX).
11
48fe8374 12top_srcdir = @top_srcdir@/..
549c6f67 13top_builddir = ../..
954e4e98 14program_dir = samples/sockets
4e9fd9e2
SN
15# the comment at the end of the next line is needed because otherwise autoconf
16# would remove this line completely - it contains a built-in hack to remove
17# any VPATH assignment not containing ':'
954e4e98 18VPATH = @PATH_IFS@$(top_srcdir)/samples/sockets # ':' for autoconf
549c6f67
RR
19
20# Clears all default suffixes
21.SUFFIXES: .o .cpp .c .cxx
22
23.cpp.o :
c6d1e232 24 $(CC) -c $(CXXFLAGS) -o $@ $<
549c6f67
RR
25
26# Set defaults from configure
27include ../../src/make.env
28
0292142e 29all: client@PROGRAM_EXT@ server@PROGRAM_EXT@
549c6f67 30
4693b20c
MB
31sockets_resources.o: sockets.rc
32 $(RESCOMP) $(RCINPUTSWITCH) $< $(RCOUTPUTSWITCH) $@ $(RESFLAGS)
33
34client@PROGRAM_EXT@: client.o ../../lib/@WX_TARGET_LIBRARY@ sockets_resources.o
35 $(CC) $(LDFLAGS) -o client@PROGRAM_EXT@ sockets_resources.o client.o $(LDLIBS)
549c6f67 36
0292142e 37server@PROGRAM_EXT@: server.o ../../lib/@WX_TARGET_LIBRARY@
4693b20c 38 $(CC) $(LDFLAGS) -o server@PROGRAM_EXT@ sockets_resources.o server.o $(LDLIBS)
549c6f67
RR
39
40clean:
4693b20c 41 rm -f client@PROGRAM_EXT@ server@PROGRAM_EXT@ sockets_resources.o client.o server.o core
549c6f67 42