flags=-O2 -Wall -std=c23
ldflags=-lbu

.PHONY: clean

all: heap.o alloc.o

#alloc: alloc.o heap.o
#	cc $(flags) $^ -o $@ $(ldflags)

alloc.o: alloc.c alloc.h
	cc $(flags) -c $<

heap.o: heap.asm
	nasm -f elf $^

clean:
	rm -f *.o alloc
