7 NASM
=nasm
-f elf
-i
$(INCDIR
)/
8 CC
=gcc
-m32
-g
-Wall
-W
-O2
-nostdinc
-fno-builtin
-I
$(INCDIR
)
10 OBJS
=create.o destroy.o
17 all: $(OBJS
) libpthread.a
20 $(Q
)rm -f libpthread.a
$(OBJS
)
25 @printf
" ASM $(subst $(shell pwd)/,,$(@))\n";
29 @printf
" CC $(subst $(shell pwd)/,,$(@))\n";
33 libpthread.a
: $(OBJS
) $(MAKEDEP
)
34 @printf
" AR $(subst $(shell pwd)/,,$(@))\n";
35 $(Q
)ar rcs libpthread.a
$(OBJS
)