Subversion Repositories Krakow BASIC

Rev

Rev 2 | Rev 6 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
# $Id: Makefile 4 2024-09-03 22:40:08Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
TARGET ?= krakow$(EXEC)
6
 
7
.PHONY: all clean
8
 
9
all: $(TARGET)
10
 
4 nishi 11
krakow$(EXEC): krakow$(OBJ)
12
	$(LD) $(LDFLAGS) -o $@ krakow$(OBJ) $(LIBS)
2 nishi 13
 
14
krakow.hex: krakow.elf
15
	objcopy -O ihex -R $(SECTION) krakow.elf $@
16
 
4 nishi 17
krakow$(OBJ): basic.c
18
	$(CC) $(CFLAGS) -o $@ basic.c
2 nishi 19
 
20
clean:
4 nishi 21
	rm -f *.hex *.exe krakow *.o *.elf krakow.s *.80