HCoop
/
jackhill
/
mal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge pull request #15 from joelpickup/master
[jackhill/mal.git]
/
bash
/
Makefile
1
SOURCES_BASE
=
types.sh reader.sh printer.sh
2
SOURCES_LISP
=
env.sh core.sh stepA_mal.sh
3
SOURCES
= $(
SOURCES_BASE
) $(
SOURCES_LISP
)
4
5
all
:
mal.sh
6
7
mal.sh
: $(
SOURCES
)
8
cat
$+ > $
@
9
echo
"#!/usr/bin/env bash"
> $
@
10
cat
$+
| grep
-
v
"^source "
>> $
@
11
chmod
+
x
$
@
12
13
clean
:
14
rm
-
f mal.sh
15
16
.PHONY
:
stats
17
18
stats
: $(
SOURCES
)
19
@wc
$
^
20
stats-lisp
: $(
SOURCES_LISP
)
21
@wc
$
^