2014-04-11 04:27:42 +04:00
|
|
|
SOURCES_BASE = types.sh reader.sh printer.sh
|
2015-02-28 20:09:54 +03:00
|
|
|
SOURCES_LISP = env.sh core.sh stepA_mal.sh
|
2014-04-11 04:27:42 +04:00
|
|
|
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
|
2014-03-25 01:32:24 +04:00
|
|
|
|
2016-02-15 05:57:31 +03:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
2016-02-24 09:45:40 +03:00
|
|
|
dist: mal.sh mal
|
2014-03-25 01:32:24 +04:00
|
|
|
|
|
|
|
mal.sh: $(SOURCES)
|
2016-02-24 09:45:40 +03:00
|
|
|
cat $+ | grep -v "^source " > $@
|
|
|
|
|
|
|
|
mal: mal.sh
|
2015-02-11 02:32:19 +03:00
|
|
|
echo "#!/usr/bin/env bash" > $@
|
2016-02-24 09:45:40 +03:00
|
|
|
cat $< >> $@
|
2014-03-25 01:32:24 +04:00
|
|
|
chmod +x $@
|
|
|
|
|
|
|
|
clean:
|
2016-02-24 09:45:40 +03:00
|
|
|
rm -f mal.sh mal
|