Fixed trivial bug in naming of `depend' file. Argh.

This commit is contained in:
Martin Mares 1999-01-12 20:36:18 +00:00
parent 663683a575
commit cceb3e7d2f

View file

@ -54,13 +54,13 @@ all.o: $(objs)
endif
%.o: $(src-path)%.c
$(CC) $(CFLAGS) -o $@ -c $^
$(CC) $(CFLAGS) -o $@ -c $<
depend:
gcc $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
ifneq ($(wildcard .depend),)
include .depend
ifneq ($(wildcard depend),)
include depend
endif
endif