diff Makefile.in @ 1634:14f302c5b32c

Don't hardcode the output directory
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Apr 2006 03:56:31 +0000
parents 09375aed0208
children 0a9be1057095
line wrap: on
line diff
--- a/Makefile.in	Fri Apr 14 03:24:01 2006 +0000
+++ b/Makefile.in	Fri Apr 14 03:56:31 2006 +0000
@@ -61,11 +61,11 @@
 
 .PHONY: all depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist
 depend:
-	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \
+	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
 	$(SHELL) $(auxdir)/makedep.sh
 	@for src in $(SDLMAIN_SOURCES); do \
 	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
-	    echo "$(objects)/$$obj: $$src" >>$(depend); \
+	    echo "\$$(objects)/$$obj: $$src" >>$(depend); \
 	    echo "	\$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \
 	done