summaryrefslogtreecommitdiffhomepage
path: root/tools/mirb/Makefile
diff options
context:
space:
mode:
authorJon <[email protected]>2012-05-23 12:01:08 -0400
committerJon <[email protected]>2012-05-23 13:19:40 -0400
commit105c11b7f6570292ad0fa15c8346c038f9d2f561 (patch)
treeb74473538845af72be3a3104ad0d52c1b6df9324 /tools/mirb/Makefile
parent6f00683e8729ad2a834de80ef312711d56a23d67 (diff)
downloadmruby-105c11b7f6570292ad0fa15c8346c038f9d2f561.tar.gz
mruby-105c11b7f6570292ad0fa15c8346c038f9d2f561.zip
Clean and DRY up the basic Makefiles
Diffstat (limited to 'tools/mirb/Makefile')
-rw-r--r--tools/mirb/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/mirb/Makefile b/tools/mirb/Makefile
index 4c6ab4e62..ba307227c 100644
--- a/tools/mirb/Makefile
+++ b/tools/mirb/Makefile
@@ -21,10 +21,6 @@ EXTS := $(EXT1)
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
@@ -69,5 +65,5 @@ clean :
$(MAKE) clean -C ../../mrblib $(MAKE_FLAGS)
$(MAKE) clean -C ../mrbc $(MAKE_FLAGS)
@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)