Skip to content

Commit

Permalink
[make] support .config
Browse files Browse the repository at this point in the history
  • Loading branch information
mor1 committed Jul 17, 2012
1 parent 46c21e3 commit a9faa59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Expand Up @@ -3,27 +3,27 @@ all: build

NAME=dns
J=4

export OCAMLRUNPARAM=b

-include Makefile.config

clean: setup.data
./setup.bin -clean
./setup.bin -clean $(OFLAGS)

distclean: setup.data
./setup.bin -distclean
./setup.bin -distclean $(OFLAGS)
$(RM) setup.bin

setup: setup.data

build: setup.data $(wildcard lib/*.ml)
./setup.bin -build -j $(J)
./setup.bin -build -j $(J) $(OFLAGS)

doc: setup.data setup.bin
./setup.bin -doc -j $(J)
./setup.bin -doc -j $(J) $(OFLAGS)

install:
ocamlfind remove $(NAME)
ocamlfind remove $(NAME) $(OFLAGS)
./setup.bin -install

##
Expand Down
1 change: 1 addition & 0 deletions Makefile.config
@@ -0,0 +1 @@
# OFLAGS ?= -classic-display

0 comments on commit a9faa59

Please sign in to comment.