Rev 2 | Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 4 2024-09-03 22:40:08Z 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