[Scummvm-cvs-logs] CVS: scummvm Makefile,1.91,1.92
Max Horn
fingolfin at users.sourceforge.net
Tue Dec 28 03:41:04 CET 2004
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22393
Modified Files:
Makefile
Log Message:
Fix building in an external dir
Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- Makefile 25 Dec 2004 00:22:01 -0000 1.91
+++ Makefile 28 Dec 2004 11:40:27 -0000 1.92
@@ -91,30 +91,32 @@
tools: $(TOOLS)
-tools/convbdf$(EXEEXT): tools/convbdf.c
+tools/convbdf$(EXEEXT): $(srcdir)/tools/convbdf.c
+ $(MKDIR) tools/$(DEPDIR)
$(CC) -Wall -o $@ $<
-tools/md5table$(EXEEXT): tools/md5table.c
+tools/md5table$(EXEEXT): $(srcdir)/tools/md5table.c
+ $(MKDIR) tools/$(DEPDIR)
$(CC) -Wall -o $@ $<
-#simon/simon-md5.h: tools/simon-md5.txt
+#simon/simon-md5.h: $(srcdir)/tools/simon-md5.txt
# tools/md5table$(EXEEXT) --c++ < $< > $@
-#scumm/scumm-md5.h: tools/scumm-md5.txt
+#scumm/scumm-md5.h: $(srcdir)/tools/scumm-md5.txt
# tools/md5table$(EXEEXT) --c++ < $< > $@
credits:
- tools/credits.pl --text > AUTHORS
- tools/credits.pl --html > ../web/credits.inc
- tools/credits.pl --cpp > gui/credits.h
- tools/credits.pl --xml > ../docs/docbook/credits.xml
+ $(srcdir)/tools/credits.pl --text > AUTHORS
+ $(srcdir)/tools/credits.pl --html > ../web/credits.inc
+ $(srcdir)/tools/credits.pl --cpp > gui/credits.h
+ $(srcdir)/tools/credits.pl --xml > ../docs/docbook/credits.xml
md5scumm: tools/md5table$(EXEEXT)
- tools/md5table$(EXEEXT) --c++ < tools/scumm-md5.txt > scumm/scumm-md5.h
- tools/md5table$(EXEEXT) --php < tools/scumm-md5.txt > ../web/docs/md5.inc
+ tools/md5table$(EXEEXT) --c++ < $(srcdir)/tools/scumm-md5.txt > scumm/scumm-md5.h
+ tools/md5table$(EXEEXT) --php < $(srcdir)/tools/scumm-md5.txt > ../web/docs/md5.inc
md5simon: tools/md5table$(EXEEXT)
- tools/md5table$(EXEEXT) --c++ < tools/simon-md5.txt > simon/simon-md5.h
+ tools/md5table$(EXEEXT) --c++ < $(srcdir)/tools/simon-md5.txt > simon/simon-md5.h
#######################################################################
# Unit/regression tests #
More information about the Scummvm-git-logs
mailing list