X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/b11a9f3e0fbaf1d0c9465f7d0e0f97abef4f6de7..c880098b282d3214882535c181f59497747da440:/Makefile?ds=inline diff --git a/Makefile b/Makefile index b8515ad..ed57b89 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,10 @@ bindir := $(PREFIX)/sbin 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)