try makefile another way

This commit is contained in:
Amy Bowersox 2019-12-11 13:22:39 -07:00
parent 62204682af
commit 1b4cbfae63

View File

@ -20,7 +20,7 @@ upiwin: $(OBJS)
.c.o: .c.o:
gcc -c $(CFLAGS) $< gcc -c $(CFLAGS) $<
.bin.o: %.o: %.bin
objcopy -I binary -O elf32-littlearm -B arm --rename-section \ objcopy -I binary -O elf32-littlearm -B arm --rename-section \
.data=.rodata,alloc,load,readonly,data,contents $< $@ .data=.rodata,alloc,load,readonly,data,contents $< $@