Skip to content

Commit

Permalink
[build] symplify Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed May 21, 2012
1 parent bf5ff98 commit fd96a37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TARGETS = opam opam-server \

.PHONY: all

all: ./_obuild/unixrun compile clone build
all: ./_obuild/unixrun compile clone
@

scan: ./_obuild/unixrun
Expand All @@ -29,13 +29,9 @@ bootstrap: _obuild/unixrun _obuild/opam/opam.byte
rm -f boot/opam.boot
ocp-bytehack -static _obuild/opam/opam.byte -o boot/opam.boot

build:
$(OCPBUILD) $(TARGETS)

compile: ./_obuild/unixrun clone
compile: ./_obuild/unixrun
$(OCPBUILD) -init -scan -sanitize $(TARGET)


clone:
$(MAKE) -C $(SRC_EXT)

Expand Down

0 comments on commit fd96a37

Please sign in to comment.