mirror of
https://github.com/intrepidcs/icsscand.git
synced 2026-08-05 09:38:17 +02:00
wrong parameter to get opt, ws cleanup, and -O2
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
CXX=g++
|
||||
CC=gcc
|
||||
CFLAGS=-g -c
|
||||
CFLAGS=-g -c -O2
|
||||
LDFLAGS=
|
||||
AR=ar
|
||||
|
||||
all: icsscand
|
||||
|
||||
icsscand: icsscand.o
|
||||
$(CC) $(LDFLAGS) icsscand.o -o icsscand -lpthread -lftdi -licsneoapi
|
||||
$(CC) $(LDFLAGS) icsscand.o -o icsscand -lpthread -licsneoapi
|
||||
|
||||
icsscand.o: icsscand.c
|
||||
$(CC) $(CFLAGS) icsscand.c
|
||||
|
||||
+1
-1
@@ -563,7 +563,7 @@ int main(int argc, char **argv)
|
||||
pthread_t probe_thread;
|
||||
|
||||
/* process command line switches */
|
||||
while ((opt = getopt(argc, argv, "hF")) != -1)
|
||||
while ((opt = getopt(argc, argv, "hD")) != -1)
|
||||
{
|
||||
switch(opt)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user