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" # If modified do "sudo udevadm control --reload-rules"
# Then unplug and replug GQ GMC-300 # 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 # 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" SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ATTRS{idVendor}=="1a86", MODE:="666", SYMLINK+="gqgmc"
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Makefile macros # Makefile macros
############################################################################# #############################################################################
# project root directory # project root directory
BASE = /home/phil/Projects/gqgmc BASE = /home/kevin/src/gqgmc
# executables directory # executables directory
BIN = $(BASE)/bin BIN = $(BASE)/bin
...@@ -54,8 +54,3 @@ MOC = /usr/bin/moc-qt4 ...@@ -54,8 +54,3 @@ MOC = /usr/bin/moc-qt4
# Use ar & ranlib to build libgqgmc library # Use ar & ranlib to build libgqgmc library
AR = ar AR = ar
RANLIB = ranlib RANLIB = ranlib
...@@ -39,7 +39,13 @@ $(BIN)/gqgmc: $(OBJ)/main.o $(LIBRARIES) ...@@ -39,7 +39,13 @@ $(BIN)/gqgmc: $(OBJ)/main.o $(LIBRARIES)
$(BIN)/gqgmc_gui: $(OBJ)/main_gui.o $(gui_object) $(LIBRARIES) $(BIN)/gqgmc_gui: $(OBJ)/main_gui.o $(gui_object) $(LIBRARIES)
$(LDCPP) $(LDFLAGS) -o $@ $(OBJ)/main_gui.o $(gui_object) $(LIBS_LNK) $(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: # File dependencies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment