Fixed trivial bug in naming of `depend' file. Argh.
This commit is contained in:
parent
663683a575
commit
cceb3e7d2f
1 changed files with 3 additions and 3 deletions
|
@ -54,13 +54,13 @@ all.o: $(objs)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.o: $(src-path)%.c
|
%.o: $(src-path)%.c
|
||||||
$(CC) $(CFLAGS) -o $@ -c $^
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
gcc $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
|
gcc $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
|
||||||
|
|
||||||
ifneq ($(wildcard .depend),)
|
ifneq ($(wildcard depend),)
|
||||||
include .depend
|
include depend
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue