X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/b11a9f3e0fbaf1d0c9465f7d0e0f97abef4f6de7..854d802794a6c67c3bb7fe87f1b023f8d68f6ef3:/Makefile 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)