diff options
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..845b457 --- /dev/null +++ b/config.mk @@ -0,0 +1,29 @@ +# rg version +VERSION = 1.0 + +# Customize below to fit your system + +# paths +PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man + +# compiler +CC = cc +EXE = +LIBS = + +# Windows (MinGW-w64): uncomment +# CC = gcc +# EXE = .exe + +# Windows (clang targeting MSVC CRT): uncomment +# CC = clang +# EXE = .exe + +ifeq ($(OS),Windows_NT) +CC = clang +EXE = .exe +endif + +CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os +LDFLAGS = ${LIBS} |
