Debian Codegraph @

Makefile

raw symbols ◀ ▶ SCIP
3 Debian patches touch this file
1 all: bchunk
2
3 # For systems with GCC (Linux, and others with GCC installed):
4 CC = gcc
5 LD = gcc
•6 #CFLAGS = -Wall -Wstrict-prototypes -O2
7
8 # For systems with a legacy CC:
9 #CC = cc
10 #LD = cc
11 #CFLAGS = -O
12
13 # For BSD install: Which install to use and where to put the files
14 INSTALL = install
15 PREFIX = /usr/local
16 BIN_DIR = $(PREFIX)/bin
17 MAN_DIR = $(PREFIX)/man
18
19 .c.o:
20 $(CC) $(CFLAGS) -c $<
21
22 clean:
23 rm -f *.o *~ *.bak core
24 distclean: clean
25 rm -f bchunk
26
27 install: installbin installman
28 installbin:
•29 $(INSTALL) -m 755 bchunk $(BIN_DIR)
30 installman:
•31 $(INSTALL) -m 644 bchunk.1 $(MAN_DIR)/man1
32
33 BITS = bchunk.o
34
35 bchunk: $(BITS)
•36 $(LD) $(LDFLAGS) -o bchunk $(BITS)
37
38 bchunk.o: bchunk.c
39