Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mincss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
mincss
Commits
add01315
Commit
add01315
authored
Jul 14, 2014
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced OCamlMakefile with custom Makefile
parent
3feaacd0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1316 deletions
+25
-1316
Makefile
Makefile
+25
-17
OCamlMakefile
OCamlMakefile
+0
-1299
types.ml
types.ml
+0
-0
No files found.
Makefile
View file @
add01315
RESULT
:=
mincss
SOURCES
:=
types.ml types.mli stringify.ml lexer.mll parser.mly util.ml parse.ml
\
main.ml
PRE_TARGETS
:=
types.ml types.cmi stringify.cmi
LIBS
:=
str
BASENAMES
:=
types stringify parser lexer util parse main
# Set debugging flag to enable exception backtraces for OCAMLRUNPARAM=b
OCAMLFLAGS
:=
-g
OFILES
:=
$(
addsuffix
.cmx,
$(BASENAMES)
)
OCAMLYACC
:=
menhir
YFLAGS
:=
--infer
--explain
--dump
OCAMLCFLAGS
:=
-g
OCAMLLDFLAGS
:=
OCAMLLDLIBS
:=
str.cmxa
.PHONY
:
all myclean
.PHONY
:
all clean
.PRECIOUS
:
$(addprefix .cmi
,
$(BASENAMES))
all
:
native-code
all
:
$(RESULT)
clean
::
myclean
%.ml
:
%.mll
ocamllex
-o
$@
$<
# The Types module needs an implementation to stop ocamlc from complaining
types.ml
:
types.mli
cp
$<
$@
%.ml
:
%.mly
menhir
--infer
--explain
$<
myclean
:
rm
-f
a.out types.ml parser.conflicts parser.automaton
%.cmi
:
%.mli
ocamlc
-c
$(OCAMLCFLAGS)
-o
$@
$<
include
OCamlMakefile
parser.cmx
:
parser.cmi
parser.mli
:
parser.ml
%.cmx
:
%.ml
ocamlfind ocamlopt
-package
batteries
-c
$(OCAMLCFLAGS)
-o
$@
$
(
<:.cmi
=
.ml
)
$(RESULT)
:
$(OFILES)
ocamlopt
-o
$@
$(OCAMLLDFLAGS)
$(OCAMLLDLIBS)
$^
clean
:
rm
-f
*
.cmi
*
.cmx
*
.o lexer.ml parser.ml parser.mli
$(RESULT)
OCamlMakefile
deleted
100644 → 0
View file @
3feaacd0
This diff is collapsed.
Click to expand it.
types.ml
i
→
types.ml
View file @
add01315
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment