Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile - ploot - simple plotting tools
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65…
Log
Files
Refs
Tags
README
LICENSE
---
Makefile (715B)
---
1 NAME = ploot
2 VERSION = v0.1
3
4 D = -D_POSIX_C_SOURCE=200811L -D_DEFAULT_SOURCE
5 CFLAGS = -Wall -Wextra -std=c99 -pedantic $W $D -fPIC
6 LDFLAGS = -static
7 PREFIX = /usr/local
8 MANPREFIX = $(PREFIX)/share/man
9 LIBS = -lm
10
11 SRC = tsv.c drawille.c font.c font13.c font8.c util.c
12 INC = tsv.h drawille.h font.h util.h
13 BIN = ploot-farbfeld ploot-feed ploot-braille ploot-text
14 OBJ = ${SRC:.c=.o}
15
16 all: ${BIN}
17
18 .c.o:
19 ${CC} -c ${CFLAGS} -o $@ $<
20
21 ${OBJ} ${BIN:=.o}: ${INC} Makefile
22 ${BIN}: ${OBJ} ${BIN:=.o}
23 ${CC} ${LDFLAGS} -o $@ [email protected] ${OBJ} ${LIBS}
24
25 install: ${BIN}
26 mkdir -p ${PREFIX}/bin ${MANPREFIX}/man1 ${MANPREFIX}/man5
27 cp ${BIN} ${PREFIX}/bin
28 cp *.1 ${MANPREFIX}/man1
29 cp *.5 ${MANPREFIX}/man5
30
31 clean:
32 rm -f *.o ${BIN}
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.