summaryrefslogtreecommitdiffstats
path: root/eshld/Makefile
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-22 15:44:47 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-22 15:44:47 (EST)
commitdd634f296ae9c40b7e85cc51f17869eaeca6568e (patch)
tree91522cf0ea8ecb7d6a9b2105b19f614662d5e967 /eshld/Makefile
parent36cf5f8c449b67665b240e51731f903ebe146e8e (diff)
downloadeggshell-dd634f296ae9c40b7e85cc51f17869eaeca6568e.zip
eggshell-dd634f296ae9c40b7e85cc51f17869eaeca6568e.tar.gz
eggshell-dd634f296ae9c40b7e85cc51f17869eaeca6568e.tar.bz2
eshld/Makefile: New file
Diffstat (limited to 'eshld/Makefile')
-rw-r--r--eshld/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/eshld/Makefile b/eshld/Makefile
new file mode 100644
index 0000000..03b3c3b
--- /dev/null
+++ b/eshld/Makefile
@@ -0,0 +1,21 @@
+SOURCES = \
+ main.esh \
+ link.esh
+OBJECTS = $(SOURCES:.esh=.sh)
+
+all: eshld
+
+.SUFFIXES:
+.SUFFIXES: .esh .sh
+
+clean:
+ rm -f eshld $(OBJECTS)
+
+eshld: $(OBJECTS) Makefile
+ cat $(OBJECTS) >$@
+ printf 'main "$${@}"\n' >>$@
+
+$(OBJECTS): Makefile
+
+.esh.sh:
+ cp $< $@