source: Main/trunk/Makefile@ 5

Last change on this file since 5 was 4, checked in by Nishi, on Sep 13, 2024 at 6:39:33 PM

can trim line

  • Property svn:keywords set to Id
File size: 410 bytes
Line 
1# $Id: Makefile 4 2024-09-13 09:39:33Z 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 . -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.