Subversion Repositories IRC-Archiver

Rev

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

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