Subversion Repositories IRCServ

Rev

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

# $Id: Makefile 6 2024-08-25 19:00:39Z 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