Skip to content

Commit

Permalink
Fix shell expansion in Makefile
Browse files Browse the repository at this point in the history
This fix an error introduced in 4ec3f9a
and discovered by @hannesN. I have tested it and seems to work.
  • Loading branch information
samoht committed Nov 6, 2016
1 parent 5b71d27 commit 146d013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: all install clean doc github

EXT_OBJ=`ocamlfind ocamlc -config | awk '/^ext_obj:/ {print $2}'`
EXT_LIB=`ocamlfind ocamlc -config | awk '/^ext_lib:/ {print $2}'`
EXT_OBJ=$(ocamlfind ocamlc -config | awk '/^ext_obj:/ {print $2}')
EXT_LIB=$(ocamlfind ocamlc -config | awk '/^ext_lib:/ {print $2}')

OCAMLBUILD = ocamlbuild -use-ocamlfind -classic-display -no-links \
-cflags "-w A-4-33-40-41-42-43-34-44"
Expand All @@ -16,7 +16,7 @@ endif


B=_build/lib
FILES = $(wildcard $B/*.cmi $B/*.cmt $B/*.cmti $B/*.cmx $B/*.cmxa $B/*.cma $B/*.cmxs $B/$B/*$(EXT_LIB) $B/*$(EXT_OBJ) $B/*.cmo)
FILES = $(wildcard $B/*.cmi $B/*.cmt $B/*.cmti $B/*.cmx $B/*.cmxa $B/*.cma $B/*.cmxs $B/*$(EXT_LIB) $B/*$(EXT_OBJ) $B/*.cmo)
MORE_FILES = $(wildcard lib/intro.html $B/*.mli)

all: ppx
Expand Down

0 comments on commit 146d013

Please sign in to comment.