Fixes #2128. Based on @infinity0's commit.
This commit is contained in:
parent
62da869eee
commit
9d001d207e
2 changed files with 22 additions and 22 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#? stdtmpl(subsChar='?') | standard
|
||||
#proc generateMakefile(c: ConfigData): string =
|
||||
#proc generateMakefile(c: ConfigData): string =
|
||||
# result = "# Generated from niminst\n" &
|
||||
# "# Template is in tools/niminst/makefile.tmpl\n" &
|
||||
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"
|
||||
|
||||
CC = gcc
|
||||
LINKER = gcc
|
||||
COMP_FLAGS = ?{c.ccompiler.flags}
|
||||
LINK_FLAGS = ?{c.linker.flags}
|
||||
COMP_FLAGS = $(CPPFLAGS) $(CFLAGS) ?{c.ccompiler.flags}
|
||||
LINK_FLAGS = $(LDFLAGS) ?{c.linker.flags}
|
||||
binDir = ?{firstBinPath(c).toUnix}
|
||||
|
||||
koch := $(shell sh -c 'test -s ../koch.nim && echo "yes"')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue