Rev 32 | Rev 43 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 37 2024-09-16 13:57:39Z nishi $
PWD = `pwd`
PLATFORM = generic
PREFIX = /usr/local
include Platform/$(PLATFORM).mk
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
.PHONY: all format clean ./Server ./Common ./Module ./Manpage
all: ./Server ./Module ./Manpage
./Server:: ./Common
$(MAKE) -C $@ $(FLAGS)
./Module:: ./Common
$(MAKE) -C $@ $(FLAGS)
./Common::
$(MAKE) -C $@ $(FLAGS)
./Manpage::
$(MAKE) -C $@ $(FLAGS)
format:
clang-format --verbose -i `find ./Server ./Common ./Module "(" -name "*.c" -or -name "*.h" ")" -and -not -name "strptime.*"`
clean:
$(MAKE) -C ./Server $(FLAGS) clean
$(MAKE) -C ./Module $(FLAGS) clean
$(MAKE) -C ./Common $(FLAGS) clean
$(MAKE) -C ./Manpage $(FLAGS) clean