]>
Commit | Line | Data |
---|---|---|
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 | ||
12 | top_srcdir = @top_srcdir@ | |
13 | top_builddir = ../.. | |
14 | program_dir = samples/wxsocket | |
15 | VPATH = :$(top_srcdir)/samples/wxsocket | |
16 | ||
17 | # Clears all default suffixes | |
18 | .SUFFIXES: .o .cpp .c .cxx | |
19 | ||
20 | .cpp.o : | |
21 | $(CC) -c $(CPPFLAGS) -o $@ $< | |
22 | ||
23 | # Set defaults from configure | |
24 | include ../../src/make.env | |
25 | ||
26 | all: client server | |
27 | ||
28 | client: client.o ../../lib/@WX_TARGET_LIBRARY@ | |
29 | $(CC) $(LDFLAGS) -o client client.o $(LDLIBS) | |
30 | ||
31 | server: server.o ../../lib/@WX_TARGET_LIBRARY@ | |
32 | $(CC) $(LDFLAGS) -o server server.o $(LDLIBS) | |
33 | ||
34 | clean: | |
35 | rm -f $(OBJECTS) $(PROGRAM) core | |
36 |