repo.or.cz
/
thunix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement user space's printf stuff
[thunix.git]
/
lib
/
Makefile
blob
967f2610052652f8ff163cf7bfee71122c604453
1
CC
=
gcc
-
g
-
nostdinc
-
I..
/
include
-
Wall
-
Wno-unused
2
LD
=
ld
3
LDFLAGS
= -
m elf_i386
-
N
4
5
DIRNAME
=
lib
6
7
8
OBJS
=
string.o bitopts.o vsprintf.o
9
10
.PHONY
:
all clean
11
12
all
:
lib.a
13
14
lib.a
: ${
OBJS
}
15
@printf
"%8s %s
\n
"
"AR"
${
DIRNAME
}/$
@
16
rm
-
f
$
@
17
ar
cq
$
@
${
OBJS
}
18
19
%
.o
: %
.c
20
@printf
'%8s %s
\n
'
'CC'
${
DIRNAME
}/$
@
21
${
CC
} -
c
-
o
$*
.o
$<
22
23
clean
:
24
rm
-
f
*
.o
*
~ lib.a