make: Create a very simple install target.

This commit is contained in:
Holger Hans Peter Freyther
2011-07-14 21:36:09 +02:00
parent 13fdc84500
commit e58d24f04f

View File

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