summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-02-12 21:28:55 -0800
committerAaron Plattner <aplattner@nvidia.com>2008-02-12 21:28:55 -0800
commit03dfb75016524ca18b3cf5cc71a60163150983d7 (patch)
tree1d97336426711e41ec9efd6daa43d67c21227ddd /Makefile
parent1e2ff16f982f33122e4239c26aa1a3c2030f5c1d (diff)
1.0-81781.0-8178
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 431c1e5..b3fd621 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,10 @@
# PKG_CONFIG = pkg-config
# X11R6_DIR = /usr/X11R6
+# default build target
+
+default: all
+
# default definitions; can be overwritten by users
@@ -40,6 +44,7 @@ SHELL = /bin/sh
INSTALL = install
BUILD_OS := $(shell uname)
BUILD_ARCH := $(shell uname -m)
+M4 := m4
ifndef CC
CC = gcc
@@ -184,12 +189,10 @@ DEPS := $(patsubst %.c,$(DEPS_DIR)/%.d,$(SRC))
# and now, the build rules:
-default: all
-
-all: $(NVIDIA_SETTINGS)
+all: $(NVIDIA_SETTINGS) doc/$(MANPAGE)
-install: $(NVIDIA_SETTINGS)
- $(STRIP) $<
+install: all
+ $(STRIP) $(NVIDIA_SETTINGS)
$(INSTALL_RULE)
$(OBJS_DIR)/%.o: %.c