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