From 24ed56588bb2e7b2fbed6bf2fc54509f2fdeb00c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Jul 2011 18:07:21 +0200 Subject: [PATCH] make: Provide a very simple install target for SIMtrace --- host/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/Makefile b/host/Makefile index 2f3a482..03120c4 100644 --- a/host/Makefile +++ b/host/Makefile @@ -8,6 +8,10 @@ simtrace: main.o usb_helper.o usb.o apdu_split.o %.o: %.c $(CC) $(CFLAGS) `pkg-config --cflags libosmocore` -o $@ -c $^ +install: simtrace + install -d $(DESTDIR)/usr/bin/ + install -m 0755 simtrace $(DESTDIR)/usr/bin/ +.PHONY: install clean: @rm -f simtrace *.o