root / prex-0.9.0 / mk / lib.mk @ 03e9c04a
History | View | Annotate | Download (286 Bytes)
1 |
# Rules to compile library |
---|---|
2 |
|
3 |
include $(SRCDIR)/mk/own.mk |
4 |
|
5 |
_RELOC_OBJ_:= 1 |
6 |
|
7 |
ifndef _KERNEL_ |
8 |
INCSDIR+= $(SRCDIR)/usr/include |
9 |
endif |
10 |
|
11 |
include $(SRCDIR)/mk/common.mk |
12 |
|
13 |
$(TARGET): $(OBJS) |
14 |
$(call echo-file,AR ,$(TARGET)) |
15 |
$(AR) rucs $(TARGET) $? |
16 |
$(STRIP) -x -R .comment -R .note $(TARGET) |