Subversion Repositories Tewi

Rev

Rev 2 | Rev 6 | 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 4 2024-09-13 09:39:33Z 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:
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