source: Main/trunk/Makefile@ 40

Last change on this file since 40 was 37, checked in by Nishi, on Sep 16, 2024 at 10:57:39 PM

add manpage

  • Property svn:keywords set to Id
File size: 698 bytes
RevLine 
[2]1# $Id: Makefile 37 2024-09-16 13:57:39Z nishi $
2
3PWD = `pwd`
4PLATFORM = generic
[4]5PREFIX = /usr/local
[2]6
[25]7include Platform/$(PLATFORM).mk
8
[2]9FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
10
[37]11.PHONY: all format clean ./Server ./Common ./Module ./Manpage
[2]12
[37]13all: ./Server ./Module ./Manpage
[2]14
15./Server:: ./Common
16 $(MAKE) -C $@ $(FLAGS)
17
[17]18./Module:: ./Common
19 $(MAKE) -C $@ $(FLAGS)
20
[2]21./Common::
22 $(MAKE) -C $@ $(FLAGS)
23
[37]24./Manpage::
25 $(MAKE) -C $@ $(FLAGS)
26
[2]27format:
[32]28 clang-format --verbose -i `find ./Server ./Common ./Module "(" -name "*.c" -or -name "*.h" ")" -and -not -name "strptime.*"`
[2]29
30clean:
31 $(MAKE) -C ./Server $(FLAGS) clean
[17]32 $(MAKE) -C ./Module $(FLAGS) clean
[2]33 $(MAKE) -C ./Common $(FLAGS) clean
[37]34 $(MAKE) -C ./Manpage $(FLAGS) clean
Note: See TracBrowser for help on using the repository browser.