From ad8762098ba8f0dcce54b7bb9b5eb22e7b36c292 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 25 Feb 2016 02:31:34 -0500 Subject: eshprof/Makefile: Add --- diff --git a/eshprof/Makefile b/eshprof/Makefile new file mode 100644 index 0000000..94aafe2 --- /dev/null +++ b/eshprof/Makefile @@ -0,0 +1,22 @@ +SOURCES = \ + main.esh \ + flat-profile.esh +OBJECTS = $(SOURCES:.esh=.sh) + +all: eshprof + +.SUFFIXES: +.SUFFIXES: .esh .sh + +clean: + rm -f eshprof $(OBJECTS) + +eshprof: $(OBJECTS) Makefile + cat $(OBJECTS) >$@ + printf 'main "$${@}"\n' >>$@ + chmod a+x $@ + +$(OBJECTS): Makefile + +.esh.sh: + cp $< $@ -- cgit v0.9.1