Subversion Repositories Krakow BASIC

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
# $Id: Makefile 29 2024-09-05 04:27:28Z nishi $
2
 
3
PLATFORM = generic
4
PWD = `pwd`
5
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD)
6
 
29 nishi 7
.PHONY: all clean get-version
2 nishi 8
 
9
all: ./BASIC
10
 
11
./BASIC::
12
	$(MAKE) -C $@ $(FLAGS)
13
 
18 nishi 14
get-version:
15
	@grep "#define VERSION" BASIC/basic.c | sed -E 's/^#define VERSION "|"$$//g'
16
 
2 nishi 17
clean:
18
	$(MAKE) -C ./BASIC $(FLAGS) clean
7 nishi 19
	rm -f krakow.dsk