summaryrefslogtreecommitdiffhomepage
path: root/tools/mrbc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-05-23 16:59:22 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-05-23 16:59:22 -0700
commite3ae5bb9d261e174a82e318f784a8ab2aa4036ec (patch)
treeb74473538845af72be3a3104ad0d52c1b6df9324 /tools/mrbc
parent265ff670c8545a6ebaba7c13d946fc3c70eef36f (diff)
parent105c11b7f6570292ad0fa15c8346c038f9d2f561 (diff)
downloadmruby-e3ae5bb9d261e174a82e318f784a8ab2aa4036ec.tar.gz
mruby-e3ae5bb9d261e174a82e318f784a8ab2aa4036ec.zip
Merge pull request #188 from thecodeshop/makefile-mods
Makefile mods
Diffstat (limited to 'tools/mrbc')
-rw-r--r--tools/mrbc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/mrbc/Makefile b/tools/mrbc/Makefile
index 9ecda4a59..99f5830e6 100644
--- a/tools/mrbc/Makefile
+++ b/tools/mrbc/Makefile
@@ -23,9 +23,6 @@ LIBS = -lm
INCLUDES = -I$(BASEDIR) -I$(BASEDIR)/../include
# compiler, linker (gcc)
-CC = gcc
-LL = gcc
-YACC = bison
DEBUG_MODE = 1
ifeq ($(DEBUG_MODE),1)
CFLAGS = -g -O3
@@ -39,6 +36,7 @@ else
MAKE_FLAGS = CC='$(CC)' LL='$(LL)' ALL_CFLAGS='$(ALL_CFLAGS)'
endif
+
##############################
# generic build targets, rules
@@ -63,5 +61,5 @@ $(LIBR) :
.PHONY : clean
clean :
@echo "make: removing targets, objects and depend files of `pwd`"
- -rm -f $(EXE) $(OBJS)
- -rm -f $(OBJS:.o=.d)
+ -$(RM_F) $(EXE) $(OBJS)
+ -$(RM_F) $(OBJS:.o=.d)