source: Main/trunk/Makefile@ 31

Last change on this file since 31 was 25, checked in by Nishi, on Sep 15, 2024 at 12:10:29 AM

fix dylib load

  • Property svn:keywords set to Id
File size: 567 bytes
RevLine 
[2]1# $Id: Makefile 25 2024-09-14 15:10:29Z 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
[17]11.PHONY: all format clean ./Server ./Common ./Module
[2]12
[17]13all: ./Server ./Module
[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
24format:
[17]25 clang-format --verbose -i `find ./Server ./Common ./Module -name "*.c" -or -name "*.h"`
[2]26
27clean:
28 $(MAKE) -C ./Server $(FLAGS) clean
[17]29 $(MAKE) -C ./Module $(FLAGS) clean
[2]30 $(MAKE) -C ./Common $(FLAGS) clean
Note: See TracBrowser for help on using the repository browser.