Makefile 336 B

12345678910111213141516171819
  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. #
  3. # Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
  4. # Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
  5. # Special
  6. .POSIX:
  7. .SUFFIXES: .o .c
  8. # config.mk
  9. include ../config.mk
  10. # Utilities
  11. OBJ=$(EXTRA:=.o)
  12. all: clean $(EXTRA)
  13. $(EXTRA): $(@:=.o)
  14. include ../common.mk