Created
January 22, 2022 05:54
-
-
Save dearprakash/d4967d396d59d3eeb3e012b91b25baa9 to your computer and use it in GitHub Desktop.
Revisions
-
dearprakash created this gist
Jan 22, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # This will look at any file in that directory that isn't named "README", "Makefile", or that doesn't already end with ".dat". It will then run strfile on them, resulting in correspondingly named datfiles. POSSIBLE += $(shell ls -1 | egrep -v '\.dat|README|Makefile' | sed -e 's/$$/.dat/g') all: ${POSSIBLE} %.dat : % @strfile $< $@