mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 08:31:09 +00:00
Add a Makefile under ./tools to avoid changing top-level Makefile frequently Acked-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Signed-off-by: Yan, Like <like.yan@intel.com>
13 lines
234 B
Makefile
13 lines
234 B
Makefile
|
|
OUT_DIR ?= .
|
|
|
|
all:
|
|
$(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread
|
|
|
|
clean:
|
|
rm -f $(OUT_DIR)/acrntrace
|
|
|
|
install: $(OUT_DIR)/acrntrace
|
|
install -d $(DESTDIR)/usr/bin
|
|
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/acrntrace
|