vbos/usr.bin/Makefile
2023-11-15 15:13:53 -05:00

21 lines
350 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# usr.bin/Makefile
#
# Compile all user programs.
UPRG := test1
UPRGCLEAN := $(addsuffix clean,$(UPRG))
UPRGBUILD := $(addsuffix build,$(UPRG))
.PHONY: all
all: $(UPRGBUILD)
%build: %
@$(MAKE) --no-print-directory -C $<
clean: $(UPRGCLEAN)
%clean: %
@$(MAKE) -C $< clean
@echo " CLEAN usr.bin/$<"