Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37908975
en ru br
ALT Linux repositórios
S:1.9-alt3
5.0: 1.9-alt1
4.1: 1.9-alt1

Group :: Ferramentas de texto
RPM: pstotext

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 1.9-flags.patch
Download


diff --git a/Makefile b/Makefile
index 551e3b8..1d55ebe 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
 # commenting out the includes of ptotdll.h in ptotdll.c and main.c.
 # PMcJ 6 Sep 96
 
-CC=gcc
+CC ?= gcc
 #CC=cc -std
 
 BUNDLE = ocr.h rot270.h rot90.h
@@ -17,18 +17,18 @@ BUNDLE = ocr.h rot270.h rot90.h
 all:	pstotext
 
 main.o: main.c ptotdll.h bundle.h ocr.h rot270.h rot90.h
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 ptotdll.o: ptotdll.c ptotdll.h
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 pstotext: bundle.o main.o ptotdll.o
-	$(CC) -o pstotext main.o bundle.o ptotdll.o -lm
+	$(CC) $(CFLAGS) $(LDFLAGS) -o pstotext main.o bundle.o ptotdll.o -lm
 
 .SUFFIXES: .ps
 
 .c.o:
-	$(CC) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 # "Bundle" an Ascii file.
 .ps.h:
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009