clang.mk

Mon, 24 Apr 2023 21:01:41 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 24 Apr 2023 21:01:41 +0200
changeset 67
5da2cb5aea6b
parent 61
47a5fc33590a
child 69
ff56b28e2cdd
permissions
-rw-r--r--

merge upstream changes

37
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 # Copyright 2016 Mike Becker. All rights reserved.
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 # Redistribution and use in source and binary forms, with or without
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 # modification, are permitted provided that the following conditions are met:
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 # 1. Redistributions of source code must retain the above copyright
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 # notice, this list of conditions and the following disclaimer.
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 # 2. Redistributions in binary form must reproduce the above copyright
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 # notice, this list of conditions and the following disclaimer in the
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 # documentation and/or other materials provided with the distribution.
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 # POSSIBILITY OF SUCH DAMAGE.
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 #
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 # system related
39
ac35daceb24c adds UCX + changes how the input file is read (uses an consecutive memory area now)
Mike Becker <universe@uap-core.de>
parents: 37
diff changeset
30 MKDIR = mkdir -p
37
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 RM = rm
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 RMFLAGS = -fR
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34 # build related
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35 BIN = c2html
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
36 CC = clang
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37 CFLAGS = -O2
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 LD = clang
61
47a5fc33590a ucx is now used as external library
Mike Becker <universe@uap-core.de>
parents: 39
diff changeset
39 LDFLAGS = -lucx
37
1a67185e5496 adds version number and changes build system
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 OBJ_EXT = .o

mercurial