2000-03-05 14:03:21 -05:00
|
|
|
#
|
|
|
|
# File: makefile.unx
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1998
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1998 Julian Smart
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile for minimal example (UNIX).
|
|
|
|
|
|
|
|
top_srcdir = @top_srcdir@/..
|
|
|
|
top_builddir = ../../..
|
|
|
|
program_dir = contrib/samples/mmedia
|
|
|
|
|
|
|
|
PROGRAM=mmboard
|
|
|
|
|
|
|
|
OBJECTS=mmboard.o mmbman.o
|
|
|
|
|
2000-03-18 23:09:08 -05:00
|
|
|
EXTRA_LIBS= $(top_builddir)/contrib/src/mmedia/libmmedia.@WX_TARGET_LIBRARY_TYPE@ @ESD_LINK@
|
|
|
|
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
|
|
|
|
|
2000-03-05 14:03:21 -05:00
|
|
|
# the comment at the end of the next line is needed because otherwise autoconf
|
|
|
|
# would remove this line completely - it contains a built-in hack to remove
|
|
|
|
# any VPATH assignment not containing ':'
|
|
|
|
VPATH = @PATH_IFS@$(top_srcdir)/contrib/samples/mmedia # ':' for autoconf
|
|
|
|
|
|
|
|
include ../../../src/make.env
|
|
|
|
|
|
|
|
.SUFFIXES: .o .cpp .c
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CC) -c $(CPPFLAGS) $(EXTRA_CPPFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
2000-03-09 15:15:44 -05:00
|
|
|
clean:
|
|
|
|
rm -f *.o $(PROGRAM)
|
|
|
|
|
2000-03-05 14:03:21 -05:00
|
|
|
mmboard: $(OBJECTS)
|
|
|
|
$(CC) $(LDFLAGS) -o mmboard $(OBJECTS) $(EXTRA_LIBS) $(LDLIBS) $(top_builddir)/lib/@WX_TARGET_LIBRARY@
|