12345678910111213141516171819202122232425 |
- # SPDX-License-Identifier: GPL-3.0-or-later
- #
- # Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
- # Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
- $(OBJ): config
- config:
- @echo "VERSION = $(VERSION)"
- @echo "CFLAGS = $(CFLAGS)"
- @echo "CC = $(CC)"
- @echo "DESTDIR = $(DESTDIR)"
- @echo "PREFIX = $(PREFIX)"
- @echo "INCLUDE_EXTRA = $(INCLUDE_EXTRA)"
- .o:
- [ ! -e $< ] || $(CC) $(CFLAGS) $< ../common/common.c -o $@
- .c.o:
- [ ! -e $< ] || $(CC) $(CFLAGS) $(NOLINKER) $< -o $@
- # Cleaning
- clean:
- rm -f *.o version.h $(CORE)
|