Changeset 17 in Main for trunk/Makefile


Ignore:
Timestamp:
Sep 14, 2024, 2:41:07 AM (2 months ago)
Author:
Nishi
Message:

module system kinda works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r6 r17  
    77FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
    88
    9 .PHONY: all format clean ./Server ./Common
     9.PHONY: all format clean ./Server ./Common ./Module
    1010
    11 all: ./Server
     11all: ./Server ./Module
    1212
    1313./Server:: ./Common
     14        $(MAKE) -C $@ $(FLAGS)
     15
     16./Module:: ./Common
    1417        $(MAKE) -C $@ $(FLAGS)
    1518
     
    1821
    1922format:
    20         clang-format --verbose -i `find ./Server ./Common -name "*.c" -or -name "*.h"`
     23        clang-format --verbose -i `find ./Server ./Common ./Module -name "*.c" -or -name "*.h"`
    2124
    2225clean:
    2326        $(MAKE) -C ./Server $(FLAGS) clean
     27        $(MAKE) -C ./Module $(FLAGS) clean
    2428        $(MAKE) -C ./Common $(FLAGS) clean
Note: See TracChangeset for help on using the changeset viewer.