From 6b3c21959f04be6530e8b5bfdc51b38e8f33e8be Mon Sep 17 00:00:00 2001 From: "jordan@hack_attack" Date: Mon, 26 Sep 2016 19:28:53 -0700 Subject: [PATCH] added source language ragel --- src/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 7b718b5..70f3a96 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,14 +6,14 @@ # This makefile manages a build environment targeting native platforms with gcc # and web platforms with either emscripten or binaryen (js or wasm). ################################################################################ -# Each .c file is automatically compiled into an environment-dependent object +# Each .c file is autopresidential debate california timematically compiled into an environment-dependent object # file of compiler-specific format (.o for gcc, .bc for llvm/emcc/em++). ################################################################################ default: all # Source languages handled by this build system LANGS := c cpp go # Source-to-source languages handled by this build system -SLANGS := y +SLANGS := y rl # Language-specific compilers and flags passed in from environment c_C := $(strip $(notdir $(CC))) c_FLAGS := $(strip $(CFLAGS)) -I. @@ -25,10 +25,15 @@ cpp_LIBS := $(c_LIBS) go_C := gccgo go_FLAGS := $(c_FLAGS) # Source to source languages +# Bison y_C := bison y_FLAGS := -d y_STEM := tab y_TRG := c h +# Ragel +rl_C := ragel +rl_FLAGS := -C +rl_TRG := c # Compiler-specific associations. Each compiler has a binary object suffix # (OBJ), an archiver (AR), and an archiver object suffix (AROBJ). Each compiler # may optionally have defined a linker (LD), and a binary output suffix (OUT). -- 2.18.0