Browse files

Added an explicit build target.

  • Loading branch information...
1 parent 65dea7e commit 9df3dc122c31837af527749a08f16b3b0e7ec025 @rokstrnisa rokstrnisa committed Jul 9, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 main/OMakefile
View
7 main/OMakefile
@@ -2,7 +2,7 @@
VERSION = 0.1
# Targets not related to filenames.
-.PHONY: ../test install uninstall clean
+.PHONY: build install uninstall clean
# The meta name of the library.
LIB_NAME = ocaml-encodings
@@ -31,8 +31,11 @@ install: $(LIB_FILES) META
uninstall:
ocamlfind remove $(LIB_NAME)
+# Build the library.
+build: $(LIB_FILES)
+
# Only build (do not install) the library by default.
-.DEFAULT: $(LIB_FILES)
+.DEFAULT: build
# Delete the library and other intermediate files.
clean:

0 comments on commit 9df3dc1

Please sign in to comment.