mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
10 lines
198 B
Makefile
10 lines
198 B
Makefile
CC = gcc
|
|
CFLAGS = -I ../include -O2
|
|
|
|
DEPS = ../lib/_main.o hello.o ../lib/baremetal.a
|
|
|
|
hello.elf: $(DEPS)
|
|
ld -defsym HEAPSIZE=0x100 -T elfImage.lds $(DEPS) -o hello.elf
|
|
|
|
clean:
|
|
rm hello.elf *.o
|