/[csv2latex]/Makefile
ViewVC logotype

Annotation of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations)
Mon Jul 2 21:50:06 2018 UTC (17 months, 1 week ago) by ben
File size: 584 byte(s)
update to version 0.21
1 ben 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 44 $(CC) $(CPPFLAGS) $(CFLAGS) $(PROGNAME).c $(LDFLAGS) -o $(PROGNAME)
9 ben 1 $(GZIP) $(PROGNAME).1 > $(PROGNAME).1.gz
10     install:
11     strip $(PROGNAME)
12     install $(PROGNAME) ${DESTDIR}$(BINDIR)/$(PROGNAME)
13 ben 62 install -D $(PROGNAME).1.gz ${DESTDIR}$(MANDIR)/$(PROGNAME).1.gz
14 ben 1 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