source: Main/trunk/Makefile@ 10

Last change on this file since 10 was 6, checked in by Nishi, on Sep 13, 2024 at 7:28:20 PM

vhost

  • Property svn:keywords set to Id
File size: 426 bytes
Line 
1# $Id: Makefile 6 2024-09-13 10:28:20Z nishi $
2
3PWD = `pwd`
4PLATFORM = generic
5PREFIX = /usr/local
6
7FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
8
9.PHONY: all format clean ./Server ./Common
10
11all: ./Server
12
13./Server:: ./Common
14 $(MAKE) -C $@ $(FLAGS)
15
16./Common::
17 $(MAKE) -C $@ $(FLAGS)
18
19format:
20 clang-format --verbose -i `find ./Server ./Common -name "*.c" -or -name "*.h"`
21
22clean:
23 $(MAKE) -C ./Server $(FLAGS) clean
24 $(MAKE) -C ./Common $(FLAGS) clean
Note: See TracBrowser for help on using the repository browser.