acrn-hypervisor/tools/acrntrace/Makefile

13 lines
239 B
Makefile
Raw Normal View History

OUT_DIR ?= .
all:
$(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread -lrt
clean:
rm -f $(OUT_DIR)/acrntrace
install: $(OUT_DIR)/acrntrace
install -d $(DESTDIR)/usr/bin
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/acrntrace