aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d3c28de26c92a4005ee8f7c814b3d639d3e6cbb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -I/usr/X11R7/include -I/usr/pkg/include
LDFLAGS = -lXm -L/usr/X11R7/lib -L/usr/pkg/lib
LDFLAGS += -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib

xbattext: xbattext.c

install: xbattext
	install xbattext /usr/local/bin

upload: xbattext.c
	scp xbattext.c root@ankarstrom.se:/var/www/img/htdocs/xbattext.c

xbattext.pdf: xbattext.ms
	~/prj/re/re xbattext.ms | groff -Tps -ms | ps2pdf - > xbattext.pdf