]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/mmedia/Makefile.in
compilation fix for Watcom
[wxWidgets.git] / contrib / samples / mmedia / Makefile.in
index 4ab3991589d81acd70d35387853866ae34ac8d4e..7c4c5cbbba03c1af998303b454ea5f90e6ef3cdd 100644 (file)
@@ -1,13 +1,5 @@
-#
-# File:                makefile.unx
-# Author:      Julian Smart
-# Created:     1998
-# Updated:     
-# Copyright:   (c) 1998 Julian Smart
-#
-# "%W% %G%"
-#
-# Makefile for minimal example (UNIX).
+# Makefile for mmedia sample.
+# $Id$
 
 top_srcdir = @top_srcdir@/..
 top_builddir = ../../..
@@ -17,20 +9,8 @@ PROGRAM=mmboard
 
 OBJECTS=mmboard.o mmbman.o
 
-EXTRA_LIBS= $(top_builddir)/lib/libwxmmedia2.a @ESD_LIBS@
-# 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
+APPEXTRALIBS=$(top_builddir)/lib/libmmedia.@WX_TARGET_LIBRARY_TYPE@ @ESD_LINK@
+APPEXTRADEFS=-I$(top_srcdir)/contrib/include
 
-include ../../../src/make.env
+include $(top_builddir)/src/makeprog.env
 
-.SUFFIXES: .o .cpp .c
-
-.cpp.o:
-       $(CC) -c $(CPPFLAGS) $(EXTRA_CPPFLAGS) -o $@ $<
-
-all: $(PROGRAM)
-
-mmboard: $(OBJECTS)
-       $(CC) $(LDFLAGS) -o mmboard $(OBJECTS) $(EXTRA_LIBS) $(LDLIBS) $(top_builddir)/lib/@WX_TARGET_LIBRARY@