diff options
-rw-r--r-- | eshld/Makefile | 21 |
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 $< $@ |