/[debian]/cpulimit/trunk/debian/patches/03_Makefile.patch
ViewVC logotype

Contents of /cpulimit/trunk/debian/patches/03_Makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1354 - (show annotations)
Fri Jun 20 19:44:46 2008 UTC (12 years, 10 months ago) by gregoa
File size: 352 byte(s)
Add 03_Makefile.patch: allows to set CFLAGS; use CFLAGS in
debian/rules; thanks again to Cesare Tirabassi!
1 Author: Cesare Tirabassi <norsetto@ubuntu.com>
2 Description: allow to pass CFLAGS from debian/rules
3
4 --- cpulimit-1.1.orig/Makefile
5 +++ cpulimit-1.1/Makefile
6 @@ -1,7 +1,9 @@
7 +CFLAGS?=-Wall -O2
8 +
9 all:: cpulimit
10
11 cpulimit: cpulimit.c
12 - gcc -o cpulimit cpulimit.c -lrt -Wall -O2
13 + gcc -o cpulimit cpulimit.c -lrt $(CFLAGS)
14
15 clean:
16 rm -f *~ cpulimit

  ViewVC Help
Powered by ViewVC 1.1.26