source: Main/trunk/Makefile@ 2

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

adding stuff

  • Property svn:keywords set to Id
File size: 404 bytes
Line 
1# $Id: Makefile 2 2024-09-13 08:38:39Z nishi $
2
3PWD = `pwd`
4PLATFORM = generic
5PREFIX = /usr
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.