Subversion Repositories IRC-Archiver

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 9
Line 1... Line 1...
1
# $Id: Makefile 3 2024-08-29 18:49:46Z nishi $
1
# $Id: Makefile 9 2024-08-30 03:51:01Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
 
5
 
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM)
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM)
7
 
7
 
8
.PHONY: all format clean ./Bot
8
.PHONY: all format clean ./Bot ./Web
9
 
9
 
10
all: ./Bot
10
all: ./Bot
11
 
11
 
-
 
12
./Bot:: ./Web
-
 
13
	$(MAKE) -C $@ $(FLAGS)
-
 
14
 
12
./Bot::
15
./Web::
13
	$(MAKE) -C $@ $(FLAGS)
16
	$(MAKE) -C $@ $(FLAGS)
14
 
17
 
15
format:
18
format:
16
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`
19
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`
17
 
20
 
18
clean:
21
clean:
-
 
22
	$(MAKE) -C ./Bot $(FLAGS) clean
19
	$(MAKE) -C $@ $(FLAGS) clean
23
	$(MAKE) -C ./Web $(FLAGS) clean