Initial commit.
This commit is contained in:
33
Makefile
Normal file
33
Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
build: news.scm global.scm macros.scm pre-generated-html.scm db.scm
|
||||
csc -O3 -feature 'not-interactive' -lfa2 -local -clustering -C '-O3 -fomit-frame-pointer -fno-strict-aliasing' news.scm
|
||||
|
||||
profile: news.scm global.scm macros.scm pre-generated-html.scm
|
||||
csc -O3 -profile -lfa2 -local -clustering -C \
|
||||
'-O3 -fomit-frame-pointer -fno-strict-aliasing' news.scm
|
||||
|
||||
pre-generated-html.scm: res/scss/news.scss res/css/normalize.css \
|
||||
res/css/foundation-all.min.css \
|
||||
res/css/font-awesome.min.css widgets.scm \
|
||||
build.scm res/js/news.js res/js/pre-jquery-news.js \
|
||||
res/img/raster/logo-normal.png res/img/raster/icon.png macros.scm
|
||||
csi -s build.scm
|
||||
|
||||
.PHONY: csi
|
||||
csi: pre-generated-html.scm
|
||||
news-csi-bin -:s1m -feature 'not-interactive' -s news.scm
|
||||
|
||||
run: build
|
||||
./news -:s1m
|
||||
|
||||
.PHONY: kill
|
||||
kill:
|
||||
killall -s 9 news-csi-bin || true
|
||||
|
||||
.PHONY: restart
|
||||
restart: kill csi
|
||||
|
||||
feeds: feeds.scm global.scm db.scm
|
||||
csc -O3 -lfa2 -local -clustering feeds.scm
|
||||
|
||||
feedrunner: feed-runner.scm
|
||||
csc -O5 feed-runner.scm
|
||||
Reference in New Issue
Block a user