repo.or.cz
/
neatcc_make.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
neatcc top-level makefile
[neatcc_make.git]
/
neatrun
/
Makefile
blob
581fad1270d4c349603656d7d0d1ce4b5aa6d863
1
NCC
=
"/path/to/neatcc/ncc"
2
NLD
=
"/path/to/neatld/nld"
3
NLC
=
"/path/to/neatlibc/"
4
5
CC
=
cc
6
CFLAGS
= -
DNCC
=
\"
$(
NCC
)
\"
-
DNLD
=
\"
$(
NLD
)
\"
-
DNLC
=
\"
$(
NLC
)
\"
7
LDFLAGS
=
8
9
all
:
neatcc
10
11
%
.o
: %
.c
12
$(
CC
) $(
CFLAGS
) -
c
$
^
13
neatcc
:
neatcc.o
14
$(
CC
) -
o
$
@ neatcc.o
$(
LDFLAGS
)
15
clean
:
16
rm
-
f
*
.o neatcc