summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2012-12-29 21:06:26 +0100
committerDaniel Carl <danielcarl@gmx.de>2012-12-29 21:07:51 +0100
commitf36301abaa7a21a1e1a93a2e9abc35f8709f600f (patch)
tree4ee7868d8ca0dd0e64f44dddc07a23d40dd8f37a /Makefile
parent438b0285812c262febde5955f081371dbe60bee3 (diff)
Added a man page for the browser commands.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1ea23d6..971a1f1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
include config.mk
-all: $(TARGET)
-
-include $(DEPS)
+all: $(TARGET) man
+
options:
@echo "$(PROJECT) build options:"
@echo "LIBS = $(LIBS)"
@@ -12,8 +12,6 @@ options:
@echo "CPPFLAGS = $(CPPFLAGS)"
@echo "LDFLAGS = $(LDFLAGS)"
-all: $(TARGET)
-
$(TARGET): $(OBJ)
@echo "$(CC) $@"
@$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
@@ -32,7 +30,11 @@ $(DTARGET): $(DOBJ)
@echo "${CC} $<"
@$(CC) -c -o $@ $< $(CPPFLAGS) $(DFLAGS)
+man:
+ @$(MAKE) $(MFLAGS) -C doc man
+
clean:
+ @$(MAKE) $(MFLAGS) -C doc clean
$(RM) $(OBJ) $(DOBJ) $(TARGET) $(DTARGET)
dist: distclean