summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorMike Frysinger2006-02-02 01:41:53 +0000
committerMike Frysinger2006-02-02 01:41:53 +0000
commitb38673fb9fee63303cc6b7d4923ea0dd7cf7310a (patch)
treed6b2fba68832d7f0e061614dda4372119f58156f /coreutils
parent1f04c9d29c8a79cc71a7dd01e18e14c0fe8a8726 (diff)
downloadbusybox-b38673fb9fee63303cc6b7d4923ea0dd7cf7310a.zip
busybox-b38673fb9fee63303cc6b7d4923ea0dd7cf7310a.tar.gz
make the build system puuuuuuuuuuurty
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/Makefile.in4
-rw-r--r--coreutils/libcoreutils/Makefile.in5
2 files changed, 4 insertions, 5 deletions
diff --git a/coreutils/Makefile.in b/coreutils/Makefile.in
index 54ccf92..4e7b7bd 100644
--- a/coreutils/Makefile.in
+++ b/coreutils/Makefile.in
@@ -89,7 +89,7 @@ APPLET_SRC-y+=$(COREUTILS_SRC-y)
APPLET_SRC-a+=$(COREUTILS_SRC-a)
$(COREUTILS_DIR)$(COREUTILS_AR): $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y))
- $(AR) $(ARFLAGS) $@ $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y))
+ $(do_ar)
$(COREUTILS_DIR)%.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
+ $(compile.c)
diff --git a/coreutils/libcoreutils/Makefile.in b/coreutils/libcoreutils/Makefile.in
index 1f0c19e..0920191 100644
--- a/coreutils/libcoreutils/Makefile.in
+++ b/coreutils/libcoreutils/Makefile.in
@@ -45,8 +45,7 @@ endif
LIBCOREUTILS_OBJS=$(patsubst %,$(LIBCOREUTILS_DIR)/%, $(LIBCOREUTILS-y))
$(LIBCOREUTILS_DIR)/$(LIBCOREUTILS_AR): $(patsubst %,$(LIBCOREUTILS_DIR)/%,$(LIBCOREUTILS-y))
- $(AR) $(ARFLAGS) $(@) $(^)
+ $(do_ar)
$(LIBCOREUTILS_DIR)/%.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
-
+ $(compile.c)