diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/functions.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functions.make b/tools/functions.make index 4061cf658f..97c98a1f8d 100644 --- a/tools/functions.make +++ b/tools/functions.make | |||
@@ -25,7 +25,7 @@ preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | | |||
25 | preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ | 25 | preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ |
26 | grep -v '^\#' | grep -v "^$$" > $(2)) | 26 | grep -v '^\#' | grep -v "^$$" > $(2)) |
27 | 27 | ||
28 | c2obj = $(subst .c,.o,$(subst .S,.o,$(subst $(ROOTDIR),$(BUILDDIR),$(1)))) | 28 | c2obj = $(addsuffix .o,$(basename $(subst $(ROOTDIR),$(BUILDDIR),$(1)))) |
29 | 29 | ||
30 | # calculate dependencies for a list of source files $(2) and output them | 30 | # calculate dependencies for a list of source files $(2) and output them |
31 | # to a file $(1) | 31 | # to a file $(1) |