all: hello

CPPFLAGS = -I../../lib/libl4sys/include

include ../../Makeconf

C = main.c

O = main.o
CRT0 = crt0.o

CFLAGS += -Wall -O

hello: $(CRT0) $(O)
	$(LD) -N -Ttext 0x200000 -o $@ $^

clean:
	rm -f *.o hello

include $(C:.c=.d)
