repo.or.cz
/
neatlibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
unistd: add execvp()
[neatlibc.git]
/
Makefile
blob
18e9d64de14bc6f3ef951c498aa2334f89915b3a
1
CC
=
ncc
2
FASM
=
fasm
3
CFLAGS
= -
Os
-
I.
4
5
all
:
start.o libc.a
6
7
%
.o
: %
.s
8
$(
FASM
) $
^
$
@
9
%
.o
: %
.c
10
$(
CC
) $(
CFLAGS
) $
^
11
libc.a
:
syscall.o string.o malloc.o atoi.o ctype.o stdlib.o \
12
stdarg.o stdio.o termios.o errno.o stringc.o \
13
unistd.o
14
$(
AR
)
rcs
$
@
$
^
15
16
clean
:
17
rm
-
f
*
.o
*
.a