Switched to default g++ compiler. Added short command line options for ditdit and test-tone.

master
James Peroulas 2017-02-21 16:01:50 -08:00
rodzic 2d0de9924e
commit 21b31382ef
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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