Switched to getopt, fixed minor issues and some cleanups.

This commit is contained in:
Tobias Pflug
2009-10-21 20:28:33 +02:00
committed by optixx
parent d471173fcc
commit e0dd846013
3 changed files with 92 additions and 113 deletions

View File

@@ -27,7 +27,7 @@ NAME = qdinc
OBJECTS = opendevice.o $(NAME).o
CC = gcc
CFLAGS = $(CPPFLAGS) $(USBFLAGS) -O -g -Wall
CFLAGS = $(CPPFLAGS) $(USBFLAGS) -O -g -Wall -D_GNU_SOURCE
LIBS = $(USBLIBS)
PROGRAM = $(NAME)$(EXE_SUFFIX)