Subversion Repositories Tewi

Rev

Rev 4 | Rev 17 | 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 6 2024-09-13 10:28:20Z nishi $
2
 
3
PWD = `pwd`
4
PLATFORM = generic
4 nishi 5
PREFIX = /usr/local
2 nishi 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:
6 nishi 20
	clang-format --verbose -i `find ./Server ./Common -name "*.c" -or -name "*.h"`
2 nishi 21
 
22
clean:
23
	$(MAKE) -C ./Server $(FLAGS) clean
24
	$(MAKE) -C ./Common $(FLAGS) clean