aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index bb6530d..c7ade35 100644
--- a/makefile
+++ b/makefile
@@ -22,7 +22,10 @@ ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
-all: compile sync
+all: genopts compile sync
+
+genopts:
+ @gengetopt -i ${CURDIR}/options.ggo -G --output-dir=$(SRC)
compile: $(BUILD) $(OBJS) $(BUILD)/bloc