]>
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 | ||
2018e574 | 18 | OBJECTS=mmboard.o mmbman.o |
55196c54 GL |
19 | |
20 | EXTRA_CPPFLAGS= -I$(top_srcdir)/utils/wxMMedia2/lib | |
21 | ||
2018e574 | 22 | EXTRA_LIBS= ../lib/libwxmmedia2.a -lesd |
55196c54 GL |
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 ':' | |
2018e574 | 26 | VPATH = @PATH_IFS@$(top_srcdir)/utils/wxMMedia2/board # ':' for autoconf |
55196c54 GL |
27 | |
28 | include ../../../src/make.env | |
29 | ||
30 | .SUFFIXES: .o .cpp .c | |
31 | ||
32 | .cpp.o: | |
2018e574 | 33 | $(CC) -c $(CPPFLAGS) $(EXTRA_CPPFLAGS) -o $@ $< |
55196c54 GL |
34 | |
35 | all: $(PROGRAM) | |
36 | ||
37 | mmboard: $(OBJECTS) | |
38 | $(CC) $(LDFLAGS) -o mmboard $(OBJECTS) $(EXTRA_LIBS) $(LDLIBS) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ |