diff options
author | Oxore <oxore@protonmail.com> | 2023-05-06 23:23:59 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-06 23:23:59 +0300 |
commit | d39090b6a94b7c1700d190a1bb63e85ff1c1f4ad (patch) | |
tree | 3c1702dd04aad5ba79b243422c75a21a26a4bc16 /1_hello_world/Makefile | |
parent | ebcd974b8e18a2033c94cb0050dab73964d6c19b (diff) |
Add 2_scroll_planes demo
Diffstat (limited to '1_hello_world/Makefile')
-rw-r--r-- | 1_hello_world/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/1_hello_world/Makefile b/1_hello_world/Makefile index 0a4b3a2..da61f6a 100644 --- a/1_hello_world/Makefile +++ b/1_hello_world/Makefile @@ -8,12 +8,12 @@ _LDFLAGS = $(LDFLAGS) $(ARCHFLAGS) $(OPTFLAGS) $(addprefix -T,$(LDSCRIPTS)) -Wl, OBJECTS=startup.o main.o .PHONY: all -all: hellorom.bin +all: hello.bin %.bin: %.elf Makefile m68k-none-elf-objcopy -O binary $< $@ -hellorom.elf: $(OBJECTS) $(LDSCRIPTS) Makefile +hello.elf: $(OBJECTS) $(LDSCRIPTS) Makefile m68k-none-elf-gcc -o $@ $(OBJECTS) $(_LDFLAGS) OBJECTS: Makefile @@ -22,4 +22,4 @@ OBJECTS: Makefile m68k-none-elf-gcc -c $< -o $@ $(_CFLAGS) clean: - rm -rfv hellorom.elf hellorom.bin $(OBJECTS) + rm -rfv hello.elf hello.bin $(OBJECTS) |