diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-17 18:07:21 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-17 18:07:21 +0200 |
commit | 24ed56588bb2e7b2fbed6bf2fc54509f2fdeb00c (patch) | |
tree | 9c0f9968f63ba693cf9162eafd2649395d9b5a4b /host/Makefile | |
parent | 5953e905994bf8c58c74220e7f0edd91c07b1bf0 (diff) |
make: Provide a very simple install target for SIMtrace
Diffstat (limited to 'host/Makefile')
-rw-r--r-- | host/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |