2024-09-09 13:22:05 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
PLATFORM = generic
|
|
|
|
PWD = `pwd`
|
|
|
|
|
|
|
|
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM)
|
|
|
|
|
2024-09-11 10:24:20 +00:00
|
|
|
.PHONY: all format clean ./Bot
|
2024-09-09 13:22:05 +00:00
|
|
|
|
|
|
|
./Bot::
|
|
|
|
$(MAKE) -C $@ $(FLAGS)
|
|
|
|
|
2024-09-11 10:24:20 +00:00
|
|
|
format:
|
|
|
|
clang-format -i --verbose `find . -name "*.c" -or -name "*.h"`
|
|
|
|
|
2024-09-09 13:22:05 +00:00
|
|
|
clean:
|
|
|
|
$(MAKE) -C ./Bot $(FLAGS) clean
|