From: jordan@hack_attack Date: Tue, 27 Sep 2016 02:28:53 +0000 (-0700) Subject: added source language ragel X-Git-Url: https://git.kengrimes.com/?p=henge%2Fwebcc.git;a=commitdiff_plain;h=6b3c21959f04be6530e8b5bfdc51b38e8f33e8be added source language ragel --- 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).