summaryrefslogtreecommitdiff
path: root/app-text/o3read/files/o3read-0.0.4-fix-buildsystem.patch
blob: 63dcf95c0def8001e44758eb59f24fde6009ea53 (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
33
34
35
36
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,6 @@
 PACKAGE = o3read
 VERSION = 0.0.4
 
-CC = gcc
-CFLAGS = -Wall -ansi -pedantic -O -g
 PREFIX = /usr/local
 BINDIR = $(PREFIX)/bin
 MANDIR = $(PREFIX)/man/man1
@@ -16,20 +14,13 @@
 
 all: $(BINS)
 
-utf8tolatin1: utf8tolatin1.o
-	$(CC) -o utf8tolatin1 utf8tolatin1.o
+o3totxt: o3read.o
 
-o3totxt: o3totxt.o o3read.o
-	$(CC) -o o3totxt o3totxt.o o3read.o
+o3tohtml: o3read.o
 
-o3tohtml: o3tohtml.o o3read.o
-	$(CC) -o o3tohtml o3tohtml.o o3read.o
+o3tosiag: o3read.o
 
-o3tosiag: o3tosiag.o o3read.o
-	$(CC) -o o3tosiag o3tosiag.o o3read.o
-
-o3read: main.o o3read.o
-	$(CC) -o o3read main.o o3read.o
+o3read: main.o
 
 dist:
 	rm -rf $(PACKAGE)-$(VERSION)