Makefile.in
changeset 1634 14f302c5b32c
parent 1623 09375aed0208
child 1651 0a9be1057095
equal deleted inserted replaced
1633:b17ca8c3a404 1634:14f302c5b32c
    59 $(objects):
    59 $(objects):
    60 	$(SHELL) $(auxdir)/mkinstalldirs $@
    60 	$(SHELL) $(auxdir)/mkinstalldirs $@
    61 
    61 
    62 .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
    62 .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
    63 depend:
    63 depend:
    64 	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \
    64 	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    65 	$(SHELL) $(auxdir)/makedep.sh
    65 	$(SHELL) $(auxdir)/makedep.sh
    66 	@for src in $(SDLMAIN_SOURCES); do \
    66 	@for src in $(SDLMAIN_SOURCES); do \
    67 	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
    67 	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
    68 	    echo "$(objects)/$$obj: $$src" >>$(depend); \
    68 	    echo "\$$(objects)/$$obj: $$src" >>$(depend); \
    69 	    echo "	\$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \
    69 	    echo "	\$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \
    70 	done
    70 	done
    71 
    71 
    72 include $(depend)
    72 include $(depend)
    73 
    73