projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some command line options
[libam7xxx.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
20b44c4
..
ed57b89
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-42,6
+42,7
@@
bindir := $(PREFIX)/sbin
all: picoproj
CFLAGS += -D_BSD_SOURCE # for htole32()
all: picoproj
CFLAGS += -D_BSD_SOURCE # for htole32()
+CFLAGS += -D_POSIX_C_SOURCE=2 # for getopt()
picoproj: picoproj.o
picoproj: picoproj.o