Rev | Line | |
---|
[2] | 1 | # $Id: Makefile 2 2024-09-13 08:38:39Z nishi $
|
---|
| 2 |
|
---|
| 3 | PWD = `pwd`
|
---|
| 4 | PLATFORM = generic
|
---|
| 5 | PREFIX = /usr
|
---|
| 6 |
|
---|
| 7 | FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
|
---|
| 8 |
|
---|
| 9 | .PHONY: all format clean ./Server ./Common
|
---|
| 10 |
|
---|
| 11 | all: ./Server
|
---|
| 12 |
|
---|
| 13 | ./Server:: ./Common
|
---|
| 14 | $(MAKE) -C $@ $(FLAGS)
|
---|
| 15 |
|
---|
| 16 | ./Common::
|
---|
| 17 | $(MAKE) -C $@ $(FLAGS)
|
---|
| 18 |
|
---|
| 19 | format:
|
---|
| 20 | clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`
|
---|
| 21 |
|
---|
| 22 | clean:
|
---|
| 23 | $(MAKE) -C ./Server $(FLAGS) clean
|
---|
| 24 | $(MAKE) -C ./Common $(FLAGS) clean
|
---|
Note:
See
TracBrowser
for help on using the repository browser.