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
b8515ad
..
ed57b89
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-41,9
+41,10
@@
bindir := $(PREFIX)/sbin
all: picoproj
all: picoproj
-CFLAGS += -D_BSD_SOURCE
-picoproj: picoproj.o
+CFLAGS += -D_BSD_SOURCE
# for htole32()
+CFLAGS += -D_POSIX_C_SOURCE=2 # for getopt()
+picoproj: picoproj.o
install: picoproj
install -d $(DESTDIR)$(bindir)
install: picoproj
install -d $(DESTDIR)$(bindir)