blob: 99e8b02c90f30e7447bbc39580cb1ad82ff96be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
diff -ur dvi2tty-5.3.4.orig//Makefile dvi2tty-5.3.4/Makefile
--- dvi2tty-5.3.4/Makefile 2010-10-27 17:01:32.000000000 +0800
+++ dvi2tty-5.3.4/Makefile 2011-11-06 00:50:37.738815333 +0800
@@ -8,9 +8,8 @@
#
CC = gcc
-CFLAGS = -Wall -O2
+CFLAGS += -Wall -O2
# CFLAGS = -Wall -O2 -fomit-frame-pointer
-LDFLAGS = -s
prefix = ${DESTDIR}/usr
mandir = $(prefix)/share/man/man1
@@ -20,10 +19,10 @@
all: dvi2tty disdvi
dvi2tty:dvi2tty.o dvistuff.o
- $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o
+ $(CC) $(LDFLAGS) -o dvi2tty dvi2tty.o dvistuff.o
disdvi:disdvi.o
- $(CC) $(LFLAGS) -o disdvi disdvi.o
+ $(CC) $(LDFLAGS) -o disdvi disdvi.o
dvi2tty.o: dvi2tty.c dvi2tty.h
@@ -37,4 +36,3 @@
install: all
install dvi2tty disdvi $(bindir)
install dvi2tty.1 $(mandir)
- install disdvi.1 $(mandir)
|