diff options
Diffstat (limited to 'eshtrans/Makefile.old')
-rw-r--r-- | eshtrans/Makefile.old | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/eshtrans/Makefile.old b/eshtrans/Makefile.old new file mode 100644 index 0000000..b47c4a7 --- /dev/null +++ b/eshtrans/Makefile.old @@ -0,0 +1,28 @@ +SOURCES = \ + main.esh \ + common.esh \ + tokens.esh \ + backend/main.esh \ + backend/codegen.esh \ + frontend/main.esh \ + frontend/parser.esh \ + frontend/lexer.esh +OBJECTS = $(SOURCES:.esh=.sh) + +all: eshtrans.old + +.SUFFIXES: +.SUFFIXES: .esh .sh + +clean: + rm -f eshtrans.old $(OBJECTS) + +eshtrans.old: $(OBJECTS) + cat $(OBJECTS) >$@ + printf 'main "$${@}"\n' >>$@ + chmod a+x $@ + +$(OBJECTS): + +.esh.sh: + cp $< $@ |