mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Makefile for tests
This commit is contained in:
7
Makefile
7
Makefile
@@ -80,8 +80,9 @@ run: boot.elf
|
||||
test: test.elf
|
||||
$(GDB) -x test/gdb_script.gdb test.elf
|
||||
|
||||
test.elf: $(objs) test/runner.o
|
||||
@$(LD) $(LDFLAGS) $(objs) test/runner.o -o $@
|
||||
test.elf: $(objs) $(tests) test/runner.o
|
||||
@echo "LD $@"
|
||||
@$(LD) $(LDFLAGS) $(objs) $(tests) test/runner.o -o $@
|
||||
|
||||
boot.hex: boot.elf
|
||||
@echo "OBJCOPY $@"
|
||||
@@ -105,4 +106,4 @@ boot.elf: $(objs)
|
||||
|
||||
clean:
|
||||
@echo "CLEAN"
|
||||
@rm -f $(objs) $(products)
|
||||
@rm -f $(objs) $(tests) $(products)
|
||||
|
||||
Reference in New Issue
Block a user