Rev 4 | Rev 7 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 6 2024-09-03 22:57:45Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
TARGET ?= krakow$(EXEC)
.PHONY: all clean
all: $(TARGET)
krakow$(EXEC): krakow$(OBJ)
$(LD) $(LDFLAGS) -o $@ krakow$(OBJ) $(LIBS)
krakow.hex: krakow.elf
objcopy -O ihex -R $(SECTION) krakow.elf $@
krakow$(OBJ): basic.c
$(CC) $(CFLAGS) -o $@ basic.c
clean:
rm -f *.hex *.exe krakow *.o *.elf krakow.s *.80 *.rom