You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
563 B

Index: Makefile
--- Makefile.orig 2016-02-28 20:46:48.532544000 +0100
+++ Makefile 2016-02-28 20:47:38.102677041 +0100
@@ -1,8 +1,10 @@
VERSION=2.1
-DEBUG=-g
-LDFLAGS=-liconv_hook -lmrss $(DEBUG)
-CFLAGS=-O3 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
+DEF=-DVERSION=\"$(VERSION)\"
+CFLAGS=
+CPPFLAGS=
+LDFLAGS=
+LIBS=-lmrss -liconv
OBJS=r2t.o
@@ -13,7 +15,7 @@
all: rsstail
rsstail: $(OBJS)
- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o rsstail
+ $(CC) $(CPPFLAGS) $(DEF) $(CFLAGS) $(OBJS) -o rsstail $(LDFLAGS) $(LIBS)
install: rsstail
mkdir -p $(bindir)