summaryrefslogtreecommitdiff
path: root/payloads/libpayload/tests/Makefile
blob: 8c55053af7b177132400e03b11a37642332dcf10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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