blob: 845b4575d564fb36d31a04bbcc890bcd78eb1051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}
|