make: Provide a very simple install target for SIMtrace

This commit is contained in:
Holger Hans Peter Freyther 2011-07-17 18:07:21 +02:00
parent 5953e90599
commit 24ed56588b
1 changed files with 4 additions and 0 deletions

View File

@ -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