aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rotix/files/patch-Makefile
blob: b54a5364aa1f632f0e513c5af0d6b7cb29ed3575 (plain) (blame)
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
--- Makefile.orig   Thu Jan 17 16:43:08 2002
+++ Makefile    Wed Mar 20 04:43:31 2002
@@ -25,11 +25,11 @@
 ifdef DEBUG
 CFLAGS = -g3
 else
-CFLAGS = -O3
+CFLAGS = %%CFLAGS%%
 endif
 
 ifdef I18N
-CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\"
+CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\" -I%%LOCALBASE%%/include
 endif
 
 ifdef NO_GETOPT_LONG
@@ -39,7 +39,7 @@
 all : rotix po
 
 rotix : rot.o help.o rotix.o
-   $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o
+   $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o -L%%LOCALBASE%%/lib -lintl
 ifdef STRIP
 ifndef DEBUG
    $(STRIP) rotix