Debian Codegraph @

Makefile

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 CC= gcc
2 LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
3 CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
4 CFLAGS= -O3 -Wall #-std=c99
5 #CFLAGS+= -ffunction-sections -fdata-sections
6 #LDFLAGS+= --gc-sections
7 LIBS= -lncurses
8 DESTDIR= /usr/local/
9
10 OFILES=buffers.o \
11 configfile.o \
12 correlation.o \
13 gpl.o \
14 hexcalc.o \
15 input.o \
16 machine_type.o \
17 main.o \
18 markers.o \
19 menu.o \
20 output.o \
21 search.o \
22 ui.o
23
24 all: dhex
25
26 dhex: $(OFILES)
27 $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
28
29 install:all
30 strip dhex
31 cp dhex $(DESTDIR)/bin
32 cp dhex.1 $(DESTDIR)/man/man1
33 cp dhexrc.5 $(DESTDIR)/man/man5
34 cp dhex_markers.5 $(DESTDIR)/man/man5
35 cp dhex_searchlog.5 $(DESTDIR)/man/man5
36
37
38
39 .c.o:
40 $(CC) $< -c -I. $(CPPFLAGS) $(CFLAGS) $(OPTIONS)
41
42 clean:
43 rm -f dhex $(OFILES)
44
45