root / prex-0.9.0 / mk / obj.mk @ 9a4d8398
History | View | Annotate | Download (273 Bytes)
1 | 03e9c04a | Brad Neuman | # Rules to link a set of .o files into one .o file |
---|---|---|---|
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,LD ,$@) |
||
15 | $(LD) $(LDFLAGS) $(OUTPUT_OPTION) $^ |