repo.or.cz
/
ld.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
a simple static linker
[ld.git]
/
Makefile
blob
1ed08d320224e9e1a0db895eb6a76a17e971607c
1
CC
=
dietcc
2
CFLAGS
= -
Wall
-
O2
-
g
3
LDFLAGS
= -
g
4
5
all
:
ld
a.out
6
.c.o
:
7
$(
CC
) -
c
$(
CFLAGS
) $<
8
ld
:
ld
.o
9
$(
CC
) $(
LDFLAGS
) -
o
$
@
$
^
10
a.out
:
ld
11
.
/
ld
t
/
test
.o
12
clean
:
13
rm
-
f
ld
*
.o a.out core