Skip to content

Commit

Permalink
Added an explicit build target.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rok Strniša committed Jul 9, 2010
1 parent 65dea7e commit 9df3dc1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main/OMakefile
Expand Up @@ -2,7 +2,7 @@
VERSION = 0.1 VERSION = 0.1


# Targets not related to filenames. # Targets not related to filenames.
.PHONY: ../test install uninstall clean .PHONY: build install uninstall clean


# The meta name of the library. # The meta name of the library.
LIB_NAME = ocaml-encodings LIB_NAME = ocaml-encodings
Expand Down Expand Up @@ -31,8 +31,11 @@ install: $(LIB_FILES) META
uninstall: uninstall:
ocamlfind remove $(LIB_NAME) ocamlfind remove $(LIB_NAME)


# Build the library.
build: $(LIB_FILES)

# Only build (do not install) the library by default. # Only build (do not install) the library by default.
.DEFAULT: $(LIB_FILES) .DEFAULT: build


# Delete the library and other intermediate files. # Delete the library and other intermediate files.
clean: clean:
Expand Down

0 comments on commit 9df3dc1

Please sign in to comment.