/[csv2latex]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations)
Mon Oct 24 15:27:30 2016 UTC (11 months, 3 weeks ago) by (unknown author)
File size: 581 byte(s)
use CPPFLAGS too
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) $(CPPFLAGS) $(CFLAGS) $(PROGNAME).c $(LDFLAGS) -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