/[csv2latex]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Thu Oct 8 09:54:13 2009 UTC (10 years, 4 months ago) by ben
File size: 558 byte(s)
changed repository to herewe
1 PROGNAME=csv2latex
2 PREFIX=/usr
3 BINDIR=$(PREFIX)/bin
4 MANDIR=$(PREFIX)/share/man/man1
5 CFLAGS=-Wall -Wextra -pedantic -Os
6 GZIP=gzip --to-stdout
7 all:
8 ${CC} $(CFLAGS) $(PROGNAME).c -o $(PROGNAME)
9 $(GZIP) $(PROGNAME).1 > $(PROGNAME).1.gz
10 install:
11 strip $(PROGNAME)
12 install $(PROGNAME) ${DESTDIR}$(BINDIR)/$(PROGNAME)
13 install $(PROGNAME).1.gz ${DESTDIR}$(MANDIR)/$(PROGNAME).1.gz
14 uninstall:
15 $(RM) ${DESTDIR}$(BINDIR)/$(PROGNAME)
16 $(RM) ${DESTDIR}$(MANDIR)/$(PROGNAME).1.gz
17 clean:
18 $(RM) $(PROGNAME)
19 $(RM) $(PROGNAME).1.gz
20 # vim:set ts=8 sw=8 noexpandtab et:

  ViewVC Help
Powered by ViewVC 1.1.26