8 NASM
=nasm
-f elf
-i
$(INCDIR
)/
9 CC
=gcc
-m32
-g
-Wall
-W
-O2
-nostdinc
-fno-builtin
-I
$(INCDIR
) -I
$(LIBC
)/include
11 OBJS
=create.o open.o send.o recv.o close.o accept.o
21 $(Q
)rm -f libipc.a
$(OBJS
)
26 @printf
" ASM $(subst $(shell pwd)/,,$(@))\n";
30 @printf
" CC $(subst $(shell pwd)/,,$(@))\n";
34 libipc.a
: $(OBJS
) $(MAKEDEP
)
35 @printf
" AR $(subst $(shell pwd)/,,$(@))\n";
36 $(Q
)ar rcs libipc.a
$(OBJS
)