-
Notifications
You must be signed in to change notification settings - Fork 1
/
MakeSettingsUnix.mak
60 lines (46 loc) · 1.78 KB
/
MakeSettingsUnix.mak
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Zimbu Makefile settings for Unix and Mac.
#
# Copyright 2010 Bram Moolenaar All Rights Reserved
# Licensed under the Apache License, Version 2.0. See the LICENSE file or
# obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0
#
###################################################################
# Change lines in this block to match your environment.
# Specify the C compiler to be used.
# clang is preferred, it is more than twice as fast as gcc.
# However, clang -O2 is buggy, it may cause a crash.
COMPILER = clang
#COMPILER = gcc
#COMPILER = $(CC)
#COMPILER = tcc works for small test programs only
# Optional arguments for the compiler.
#CCARG = -Wall -Wno-unused -Wno-parentheses -g
CCARG = -Wall -Wno-unused -Wno-parentheses -Wno-parentheses-equality -g
#CCARG = -Wall -Wno-unused -Wno-parentheses -g -O2 -W -Wno-unused-parameter
#CCARG = -Wall -Wno-unused -Wno-sequence-point -g
#CCARG = -Wall -g -L/usr/lib/i386-linux-gnu
# When available use tcmalloc, it's much faster.
# It's detected by zimbuConfig.
#CCENDARG = -ltcmalloc_minimal
# Specify the command to copy a file, overwriting the destination.
COPY = cp -f
# Specify the command to copy a file, NOT overwriting the destination.
COPYN = cp -n
# Diff command that ignores CR-LF vs LF differences
DIFF = diff -a --strip-trailing-cr
# Command to measure the time a command runs.
TIME = time
# Specify the command to create a directory, silent when already existing.
MKDIR = mkdir -p
# Specify the command to use to unconditionally remove files.
RMCMD = rm -f
# Specify the command to rename a file.
RENAME = mv
# Comment out when posix threads and sockets are not available.
TESTMORE = test_more
# Put in front of executable in current directory.
CURDIR = ./
# Put after executable name.
EXE =
# Put after object file name.
OBJ = .o