You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1003 B
Makefile

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