Skip to content

Commit

Permalink
Make new makedepend logic compatible with bsd make
Browse files Browse the repository at this point in the history
It used pattern rules, which are a gnu make feature that isn't supported
by bsd makes (and probably other makes)

For: #19047
  • Loading branch information
Leont authored and jkeenan committed Aug 13, 2021
1 parent 3e05d64 commit 813d4ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.SH
Expand Up @@ -427,7 +427,7 @@ FIRSTMAKEFILE = $firstmakefile
# Any special object files needed by this architecture, e.g. os2/os2.obj
ARCHOBJS = $archobjs
.SUFFIXES: .c \$(OBJ_EXT) .i .s
.SUFFIXES: .c \$(OBJ_EXT) .i .s .c.depends
# grrr
SHELL = $sh
Expand Down Expand Up @@ -1521,7 +1521,7 @@ $spitshell >>$Makefile <<'!NO!SUBS!'
depend: makedepend $(DTRACE_H) $(generated_headers)
sh ./makedepend MAKE="$(MAKE)" cflags
%.c.depends: %.c
.c.c.depends:
sh ./makedepend_file $< $@ cflags
.PHONY: test check test_prep test_prep_nodll test_prep_pre \
Expand Down

0 comments on commit 813d4ab

Please sign in to comment.