Git

990ae9cbbe1136c6fe4a17c10063a9cf67279c2c
1 PRE = /usr/local
2 BIN = $(PRE)/bin
3 DOC = $(PRE)/share/doc/fapg
4 MAN = $(PRE)/share/man/man1
6 fapg:fapg.c genres.h
7         gcc -Wall -o fapg fapg.c
9 clean:
10         rm -f fapg
12 install:fapg
13         mkdir -p $(BIN) $(DOC) $(MAN)
14         cp -f fapg $(BIN)
15         cp -f COPYING README $(DOC)
16         cp -f fapg.1 $(MAN)
18 uninstall:
19         rm -f $(BIN)/fapg
20         rm -rf $(DOC)
21         rm -f $(MAN)/fapg.1