Skip to content
Snippets Groups Projects
Commit a8388d6f authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Update for my setup.

parent 5f7e768d
No related branches found
No related tags found
No related merge requests found
# If modified do "sudo udevadm control --reload-rules"
# Then unplug and replug GQ GMC-300
# See ballinvoher branch of https://gitlab.ie.suberic.net/kevin/gqgmc
# for more info.
# Installed by "gqgmc" slack role.
# works on ubuntu 14.04
SUBSYSTEM=="usb", ATTR{idVendor}=="067b", ATTRS{idProduct}=="2303", MODE:="666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE:="666", GROUP="plugdev"
SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", MODE:="666", SYMLINK+="gqgmc"
\ No newline at end of file
SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ATTRS{idVendor}=="1a86", MODE:="666", SYMLINK+="gqgmc"
......@@ -2,7 +2,7 @@
# Makefile macros
#############################################################################
# project root directory
BASE = /home/phil/Projects/gqgmc
BASE = /home/kevin/src/gqgmc
# executables directory
BIN = $(BASE)/bin
......@@ -54,8 +54,3 @@ MOC = /usr/bin/moc-qt4
# Use ar & ranlib to build libgqgmc library
AR = ar
RANLIB = ranlib
......@@ -39,7 +39,13 @@ $(BIN)/gqgmc: $(OBJ)/main.o $(LIBRARIES)
$(BIN)/gqgmc_gui: $(OBJ)/main_gui.o $(gui_object) $(LIBRARIES)
$(LDCPP) $(LDFLAGS) -o $@ $(OBJ)/main_gui.o $(gui_object) $(LIBS_LNK)
all: xmoc xobj libs bin
#all: xmoc xobj libs bin
.PHONY: all
all: dirs $(BIN)/gqgmc
.PHONY: dirs
dirs:
for d in bin libs obj; do test -d $$d || mkdir $$d; done
###############################################################################
# File dependencies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment