coreboot-libre-fam15h-rdimm/payloads/libpayload/tests/Makefile

13 lines
270 B
Makefile
Raw Normal View History

2024-03-04 11:14:53 +01:00
CC=gcc -g -m32
INCLUDES=-I. -I../include -I../include/x86
TARGETS=cbfs-x86-test
cbfs-x86-test: cbfs-x86-test.c ../arch/x86/rom_media.c ../libcbfs/ram_media.c ../libcbfs/cbfs.c
$(CC) -o $@ $^ $(INCLUDES)
all: $(TARGETS)
run: all
for i in $(TARGETS); do ./$$i; done