From 21b31382ef0ac12f01f38f46b5db65fb2aac1c99 Mon Sep 17 00:00:00 2001 From: James Peroulas Date: Tue, 21 Feb 2017 16:01:50 -0800 Subject: [PATCH] Switched to default g++ compiler. Added short command line options for ditdit and test-tone. --- PiCW.cpp | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PiCW.cpp b/PiCW.cpp index 07a78f1..231888b 100644 --- a/PiCW.cpp +++ b/PiCW.cpp @@ -509,7 +509,7 @@ void parse_commandline( while (1) { /* getopt_long stores the option index here. */ int option_index = 0; - int c = getopt_long (argc, argv, "hf:w:p:s", + int c = getopt_long (argc, argv, "hf:w:p:sdt", long_options, &option_index); if (c == -1) break; diff --git a/makefile b/makefile index 60c6f0f..d19b778 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,7 @@ prefix=/usr/local all: PiCW PiCW: PiCW.cpp - g++-4.7 -D_GLIBCXX_DEBUG -std=c++11 -Wall -Werror -fmax-errors=5 -lm PiCW.cpp -pthread -oPiCW + g++ -D_GLIBCXX_DEBUG -std=c++11 -Wall -Werror -fmax-errors=5 -lm PiCW.cpp -pthread -oPiCW .PHONY: install install: PiCW