gradtool
view Makefile @ 0:960cea2731c4
gradtool hg import (used to be in subversion, fuck subversion)
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Tue, 19 Jun 2012 05:30:45 +0300 |
parents | |
children | c438411b801b |
line source
1 PREFIX = /usr/local
2 obj = gradtool.o
3 bin = gradtool
5 CFLAGS = -std=c89 -pedantic -Wall -g
6 LDFLAGS = -lglut -lGL
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)
15 .PHONY: install
16 install: $(bin)
17 cp $(bin) $(PREFIX)/bin/$(bin)
19 .PHONY: uninstall
20 uninstall:
21 rm -f $(PREFIX)/bin/$(bin)