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