BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
c7685d8
Branches
Tags
master
mips_sys
fw
Makefile
fix input of program in tesbed
Stefan Schuermans
commited
c7685d8
at 2012-02-09 20:43:40
Makefile
Blame
History
Raw
CC=mipsel-elf-gcc LD=mipsel-elf-ld OBJCOPY=mipsel-elf-objcopy CFLAGS=-Wall -Wextra LFLAGS= .phony: all clean all: fw.dat %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< %.o: %.s $(CC) $(CFLAGS) -c -o $@ $< fw.o: main.o $(LD) $(LFLAGS) -r -o $@ $^ fw: lnk.cmd boot.o fw.o $(LD) $(LFLAGS) -T lnk.cmd -o $@ boot.o fw.o fw.bin: fw $(OBJCOPY) -O binary $< $@ fw.dat: fw.bin hexdump -e '2/2 "%u " "\n"' -v $< >$@ clean: rm -f *.o fw fw.bin fw.dat