summaryrefslogtreecommitdiff
path: root/hackvr_term/Makefile
blob: fb332273491d98c3a33f4d2cce07edc26aba71d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: all clean install uninstall

all: hackvr_term

hackvr_term.o: CFLAGS=-pedantic -Wall
libtmt/tmt.o: CFLAGS=-pedantic

hackvr_term: hackvr_term.o libtmt/tmt.o

clean:
	rm *.o
	rm */*.o
	rm hackvr_term

install:
	install hackvr_term $(PREFIX)/bin/hackvr_term

uninstall:
	[ -e $(PREFIX)/bin/hackvr_term ] && rm -i $(PREFIX)/bin/hackvr_term || echo "nothing to uninstall"