scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

gnu.mk (355B)


      1 COMP = gcc
      2 OBJCOPY = objcopy
      3 OBJDUMP = objdump
      4 ASM = as
      5 LINKER = ld
      6 RANLIB = ranlib
      7 ARCHIVE = ar
      8 PRECOMP = cpp
      9 
     10 NOCARET = -fno-diagnostics-show-caret
     11 ARCHIVE_FLAGS = -U
     12 NOPIE_CFLAGS = -fno-pie
     13 TOOL_CFLAGS = -std=c99 $(PROFILE_CFLAGS) $(NOCARET)
     14 TOOL_LDFLAGS = -static
     15 TOOL_LDLIBS = $(PROFILE_LDLIBS)
     16 TOOL_LIBC_CFLAGS = -fno-stack-protector -ffreestanding