]>
Commit | Line | Data |
---|---|---|
55196c54 GL |
1 | # |
2 | # File: makefile.unx | |
3 | # Author: Julian Smart | |
4 | # Created: 1998 | |
5 | # Updated: | |
6 | # Copyright: (c) 1998 Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile for minimal example (UNIX). | |
11 | ||
12 | top_srcdir = @top_srcdir@ | |
13 | top_builddir = ../../.. | |
14 | program_dir = utils/wxMMedia2/board | |
15 | ||
16 | PROGRAM=mmboard | |
17 | ||
18 | OBJECTS=$(PROGRAM).o | |
19 | ||
20 | EXTRA_CPPFLAGS= -I$(top_srcdir)/utils/wxMMedia2/lib | |
21 | ||
22 | EXTRA_LIBS= ../lib/libwxmmedia2.a | |
23 | # the comment at the end of the next line is needed because otherwise autoconf | |
24 | # would remove this line completely - it contains a built-in hack to remove | |
25 | # any VPATH assignment not containing ':' | |
26 | VPATH = @PATH_IFS@$(top_srcdir)/utils/wxMMedia2/sample # ':' for autoconf | |
27 | ||
28 | include ../../../src/make.env | |
29 | ||
30 | .SUFFIXES: .o .cpp .c | |
31 | ||
32 | .cpp.o: | |
33 | $(CC) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -o $@ $< | |
34 | ||
35 | all: $(PROGRAM) | |
36 | ||
37 | mmboard: $(OBJECTS) | |
38 | $(CC) $(LDFLAGS) -o mmboard $(OBJECTS) $(EXTRA_LIBS) $(LDLIBS) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ |