Subversion Repositories Krakow BASIC

Rev

Rev 7 | 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 18 2024-09-04 15:51:38Z nishi $
2
 
3
PLATFORM = generic
4
PWD = `pwd`
5
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD)
6
 
18 nishi 7
.PHONY: all format clean get-version
2 nishi 8
 
9
all: ./BASIC
10
 
11
./BASIC::
12
	$(MAKE) -C $@ $(FLAGS)
13
 
3 nishi 14
format:
15
	clang-format --verbose -i BASIC/basic.c
16
 
18 nishi 17
get-version:
18
	@grep "#define VERSION" BASIC/basic.c | sed -E 's/^#define VERSION "|"$$//g'
19
 
2 nishi 20
clean:
21
	$(MAKE) -C ./BASIC $(FLAGS) clean
7 nishi 22
	rm -f krakow.dsk