diosmios/elfloader/Makefile
crediar@rypp.net d103461fa9 Tools:
*Added bin2h
*Added elfloader

*Updated asm/make.cmd


git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@14 be6c1b03-d731-4111-a574-e37d80d43941
2012-06-29 02:52:11 +00:00

24 lines
346 B
Makefile

include starlet.mk
CFLAGS += -fpic -fno-builtin-memcpy
LDSCRIPT = stub.ld
LIBS = -lgcc
TARGET = elfloader.elf
TARGET_BIN = elfloader.bin
OBJS = start.o stub.o string.o utils.o
include common.mk
all: $(TARGET_BIN)
$(TARGET_BIN): $(TARGET)
@echo " OBJCPY $@"
@$(OBJCOPY) -O binary $< $@
clean: myclean
myclean:
-rm -f $(TARGET_BIN)