/[csv2latex]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65 - (show annotations)
Sat Jan 4 04:24:30 2020 UTC (6 weeks, 2 days ago) by ben
File size: 565 byte(s)
remove annonying "strip" cuz it breaks cross-compilation
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 install $(PROGNAME) ${DESTDIR}$(BINDIR)/$(PROGNAME)
12 install -D $(PROGNAME).1.gz ${DESTDIR}$(MANDIR)/$(PROGNAME).1.gz
13 uninstall:
14 $(RM) ${DESTDIR}$(BINDIR)/$(PROGNAME)
15 $(RM) ${DESTDIR}$(MANDIR)/$(PROGNAME).1.gz
16 clean:
17 $(RM) $(PROGNAME)
18 $(RM) $(PROGNAME).1.gz
19 # vim:set ts=8 sw=8 noexpandtab et:

  ViewVC Help
Powered by ViewVC 1.1.26