14 lines
262 B
Makefile
14 lines
262 B
Makefile
|
TARGET = core
|
||
|
LIBS = core
|
||
|
CORE_OBJ = core.o
|
||
|
|
||
|
$(TARGET): $(CORE_OBJ)
|
||
|
$(VERBOSE)true
|
||
|
|
||
|
.PHONY: $(CORE_OBJ)
|
||
|
$(CORE_OBJ):
|
||
|
$(VERBOSE)$(LD) $(LD_MARCH) -u _start --whole-archive -r $(LINK_ITEMS) $(LIBCXX_GCC) -o $@
|
||
|
|
||
|
clean cleanall:
|
||
|
$(VERBOSE)rm -f $(CORE_OBJ)
|