move generic mmio functions to header file

This commit is contained in:
Howard Mao
2017-05-29 14:33:30 -07:00
parent 062d443863
commit 44aa4e25a9
3 changed files with 18 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ dumps: $(addsuffix .dump,$(PROGRAMS))
%.o: %.S
$(GCC) $(CFLAGS) -D__ASSEMBLY__=1 -c $< -o $@
%.o: %.c
%.o: %.c mmio.h
$(GCC) $(CFLAGS) -c $< -o $@
%.riscv: %.o crt.o syscalls.o