Makefile 317 Bytes
Newer Older
1
XEN_ROOT = $(CURDIR)/../../../../..
2
include $(XEN_ROOT)/tools/firmware/Rules.mk
3 4 5

TARGET  = tcgbiosext.o

6
CFLAGS += $(CFLAGS_include) -I.. -I../..
7

8
.PHONY: all
9 10
all: $(TARGET)

11
.PHONY: clean
12
clean:
13
	rm -rf *.o $(TARGET) $(DEPS)
14

15
$(TARGET): tcgbios.o tpm_drivers.o
kaf24's avatar
kaf24 committed
16
	$(LD) $(LDFLAGS_DIRECT) -r $^ -o $@
17 18

-include $(DEPS)