]> iEval git - rateit.git/blame - debian/patches/fix-makefile.patch
Add debian/ directory
[rateit.git] / debian / patches / fix-makefile.patch
CommitLineData
d494bff0
MG
1Description: Fix the Makefile
2 This patch adds hardening flags, makes the clean target work when there is nothing to clean and only links against needed libraries.
3Forwarded: no
4Author: Marius Gavrilescu <marius@ieval.ro>
5Last-Update: 2013-09-04
6--- a/Makefile
7+++ b/Makefile
8@@ -4,4 +4,4 @@
9 cat rateit.glade | perl -e 'print "static unsigned char rateit_glade[]=";while(<>){s/"/\\"/g; s/^/"/; s/$$/\\n"/; print}print ";\n"' > rateit_glade.h
10
11 rateit: rateit.c rateit_glade.h
12- gcc -g -O2 rateit.c -o rateit `pkg-config --cflags --libs libglade-2.0` -export-dynamic
13+ gcc $(shell pkg-config --cflags libglade-2.0) $(CFLAGS) $(CPPFLAGS) rateit.c -o rateit $(LDFLAGS) -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgobject-2.0 -lglib-2.0 -export-dynamic
This page took 0.019704 seconds and 4 git commands to generate.