blob: f66e64804da2b305c5a6f9b40209c410a6ca9679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | 
# edit source code from: 
# https://github.com/BlueCannonBall/XAim
# https://git.suckless.org/dwm
CC = gcc
CFLAGS = -g -Wall -lX11
PREFIX = /usr/local
xcross: xcross.c
	$(CC) $(CFLAGS) -o $@ $<
clean:
	rm -f xcross
install:
	cp -f xcross ${DESTDIR}${PREFIX}/bin
	chmod 755 ${DESTDIR}${PREFIX}/bin/xcross
uninstall:
	rm -f ${DESTDIR}${PREFIX}/bin/xcross
.PHONY: clean install uninstall
  |