mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-03 03:19:16 +00:00
chore: Update makefiles
https://stackoverflow.com/a/17845120/9352057 Signed-off-by: EnderIce2 <enderice2@users.noreply.github.com>
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
build:
|
||||
make -C base build
|
||||
make -C system build
|
||||
make -C user build
|
||||
MAKE_TARGETS := build clean
|
||||
DIRECTORIES := $(sort $(dir $(wildcard ./*/)))
|
||||
|
||||
clean:
|
||||
make -C base clean
|
||||
make -C system clean
|
||||
make -C user clean
|
||||
.PHONY: $(MAKE_TARGETS) $(DIRECTORIES)
|
||||
|
||||
$(MAKE_TARGETS): $(DIRECTORIES)
|
||||
|
||||
$(DIRECTORIES):
|
||||
$(MAKE) -C $@ $(MAKECMDGOALS)
|
||||
|
Reference in New Issue
Block a user