Subversion Repositories IRCServ

Rev

Rev 2 | Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 5 2024-08-25 11:58:10Z nishi $

PWD = `pwd`
PLATFORM = generic

FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) EXTOBJS=`./check objs`

include Platform/$(PLATFORM).mk

.PHONY: all format clean ./Service check-config

all: ./Service

./Service:: check-config
        $(MAKE) -C $@ $(FLAGS)

check-config: check
        ./check

check: config.h check.c
        cc -o check check.c

format:
        clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`

clean:
        $(MAKE) -C ./Service $(FLAGS) clean
        rm -f check