Subversion Repositories IRC-Archiver

Rev

Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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