From e58d24f04f39cf73cec40a84b204e27edb12d2a2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 14 Jul 2011 21:36:09 +0200 Subject: [PATCH] make: Create a very simple install target. --- host/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/host/Makefile b/host/Makefile index 4f117b1..68959d8 100644 --- a/host/Makefile +++ b/host/Makefile @@ -8,6 +8,11 @@ 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