aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make.rules5
1 files changed, 1 insertions, 4 deletions
diff --git a/make.rules b/make.rules
index d37c365..eeff4f4 100644
--- a/make.rules
+++ b/make.rules
@@ -49,10 +49,6 @@ ifeq ($(V),0)
Q := @
MAKEFLAGS += --silent
MAKE += -s
-else
-CURDIR=$(shell pwd)
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $(CURDIR)/$<
endif
ifeq ($(V),1)
@@ -83,3 +79,4 @@ CFLAGS ?= -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float \
-fshort-wchar
export CC AS LD CLEAN OBJCOPY OBJDUMP STRIP AR RANLIB CFLAGS
+