]>
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 ipc example (UNIX). | |
11 | ||
12 | top_srcdir = @top_srcdir@/.. | |
13 | top_builddir = ../.. | |
14 | program_dir = samples/ipc | |
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 ':' | |
18 | VPATH = @PATH_IFS@$(top_srcdir)/samples/ipc # ':' for autoconf | |
19 | ||
20 | # Clears all default suffixes | |
21 | .SUFFIXES: .o .cpp .c .cxx | |
22 | ||
23 | .cpp.o : | |
24 | $(CXX) -c $(CXXFLAGS) -o $@ $< | |
25 | ||
26 | # Set defaults from configure | |
27 | include ../../src/make.env | |
28 | ||
29 | all: client server | |
30 | ||
31 | client: client.o ../../lib/@WX_TARGET_LIBRARY@ | |
32 | $(CXX) $(LDFLAGS) -o client client.o $(LDLIBS) | |
33 | ||
34 | server: server.o ../../lib/@WX_TARGET_LIBRARY@ | |
35 | $(CXX) $(LDFLAGS) -o server server.o $(LDLIBS) | |
36 | ||
37 | clean: | |
38 | rm -f $(OBJECTS) $(PROGRAM) core | |
39 |