From dd634f296ae9c40b7e85cc51f17869eaeca6568e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Feb 2016 15:44:47 -0500 Subject: eshld/Makefile: New file --- (limited to 'eshld') 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 $< $@ -- cgit v0.9.1