diff options
| author | Jon <[email protected]> | 2012-05-23 12:01:08 -0400 |
|---|---|---|
| committer | Jon <[email protected]> | 2012-05-23 13:19:40 -0400 |
| commit | 105c11b7f6570292ad0fa15c8346c038f9d2f561 (patch) | |
| tree | b74473538845af72be3a3104ad0d52c1b6df9324 /Makefile | |
| parent | 6f00683e8729ad2a834de80ef312711d56a23d67 (diff) | |
| download | mruby-105c11b7f6570292ad0fa15c8346c038f9d2f561.tar.gz mruby-105c11b7f6570292ad0fa15c8346c038f9d2f561.zip | |
Clean and DRY up the basic Makefiles
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,9 +1,12 @@ # makefile discription. # basic build file for mruby -# compiler, linker (gcc) -CC = gcc -LL = gcc +# compiler, linker (gcc), archiver, parser generator +export CC = gcc +export LL = gcc +export AR = ar +export YACC = bison + DEBUG_MODE = 1 ifeq ($(DEBUG_MODE),1) CFLAGS = -g -O3 @@ -23,6 +26,10 @@ endif export MSG_BEGIN = @for line in export MSG_END = ; do echo "$$line"; done +export CP := cp +export RM_F := rm -f +export CAT := cat + ############################## # generic build targets, rules |
