Last active
July 4, 2016 20:48
-
-
Save Pablo-Leon/07499338ad68af102ce5a6e14a2c5d0d to your computer and use it in GitHub Desktop.
This file contains 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 characters
# | |
# Makefile -- ... | |
# | |
SOURCE_FILES= | |
X_FILES= | |
PERL_EXE=/usr/bin/perl | |
.PHONY: all clean bkp chk | |
.SUFFIXES: .Rmd .html .scala .jar .pdf | |
# VPATH=data | |
all: hello | |
hello : | |
echo "Hello!." | |
clean: | |
-rm *.trc *.Rout *.log | |
bkp : | |
bak.pl $(SOURCE_FILES) | |
bak.pl $(X_FILES) | |
chk: | |
clear | |
for s in $(PERL_SOURCES); do $(PERL_EXE) -c $$s; done | |
for s in $(SCALA_SOURCES); do scala -Ystop-after:parser $$s; done | |
# for s in $(SCALA_SOURCES); do scala -Ystop-after:refchecks $$s; done | |
chk2: chk | |
clear | |
for s in $(PERL_SOURCES); do perlcritic --gentle $$s; done | |
x : | |
time echo "try something..." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment