tewi/Makefile
Nishi a06b97ab1b fix dylib load
git-svn-id: file:///raid/svn-personal/tewi/trunk@25 8739d7e6-ffea-ec47-b151-bdff447c6205
2024-09-14 15:10:29 +00:00

31 lines
567 B
Makefile

# $Id$
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
all: ./Server ./Module
./Server:: ./Common
$(MAKE) -C $@ $(FLAGS)
./Module:: ./Common
$(MAKE) -C $@ $(FLAGS)
./Common::
$(MAKE) -C $@ $(FLAGS)
format:
clang-format --verbose -i `find ./Server ./Common ./Module -name "*.c" -or -name "*.h"`
clean:
$(MAKE) -C ./Server $(FLAGS) clean
$(MAKE) -C ./Module $(FLAGS) clean
$(MAKE) -C ./Common $(FLAGS) clean