Subversion Repositories IRC-Archiver

Rev

Rev 2 | 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-08-29 17:56:13Z nishi $
1
# $Id: Makefile 3 2024-08-29 18:49:46Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
 
5
 
6
FLAG = PWD=$(PWD) PLATFORM=$(PLATFORM)
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM)
7
 
7
 
8
.PHONY: all clean ./Bot
8
.PHONY: all format clean ./Bot
9
 
9
 
10
all: ./Bot
10
all: ./Bot
11
 
11
 
12
./Bot::
12
./Bot::
13
	$(MAKE) -C $@ $(FLAGS)
13
	$(MAKE) -C $@ $(FLAGS)
14
 
14
 
-
 
15
format:
-
 
16
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`
-
 
17
 
15
clean:
18
clean:
16
	$(MAKE) -C $@ $(FLAGS) clean
19
	$(MAKE) -C $@ $(FLAGS) clean