mirror of
https://gitea.osmocom.org/sim-card/simtrace.git
synced 2026-03-16 21:28:36 +03:00
make: Provide a very simple install target for SIMtrace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user