Subversion Repositories Krakow BASIC

Rev

Rev 2 | Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 3
Line 1... Line 1...
1
# $Id: Makefile 2 2024-09-03 11:20:04Z nishi $
1
# $Id: Makefile 3 2024-09-03 11:21:02Z nishi $
2
 
2
 
3
PLATFORM = generic
3
PLATFORM = generic
4
PWD = `pwd`
4
PWD = `pwd`
5
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD)
5
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD)
6
 
6
 
7
.PHONY: all clean
7
.PHONY: all format clean
8
 
8
 
9
all: ./BASIC
9
all: ./BASIC
10
 
10
 
11
./BASIC::
11
./BASIC::
12
	$(MAKE) -C $@ $(FLAGS)
12
	$(MAKE) -C $@ $(FLAGS)
13
 
13
 
-
 
14
format:
-
 
15
	clang-format --verbose -i BASIC/basic.c
-
 
16
 
14
clean:
17
clean:
15
	$(MAKE) -C ./BASIC $(FLAGS) clean
18
	$(MAKE) -C ./BASIC $(FLAGS) clean