Files
acrn-hypervisor/tools/acrnlog/Makefile
Miguel Bernal Marin ace25dd3db Makefile: implement make install
The make install target was missing. This commits adds the intall target
which uses the install target from subprojects.

Also a make install target was created in each tool program.

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
2018-05-17 10:24:00 +08:00

13 lines
211 B
Makefile

OUT_DIR ?= .
all:
gcc -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread
clean:
rm $(OUT_DIR)/acrnlog
install: $(OUT_DIR)/acrnlog
install -d $(DESTDIR)/usr/bin
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/acrnlog