1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## cross_build.dpatch by Colin Watson <cjwatson@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Honour CC, CPPFLAGS, CFLAGS, and LDFLAGS.
8
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' mouseemu-0.16~/Makefile mouseemu-0.16/Makefile
9
--- mouseemu-0.16~/Makefile 2006-03-14 16:19:05.000000000 +0000
10
+++ mouseemu-0.16/Makefile 2012-11-22 01:44:41.000000000 +0000
15
- gcc -Wall -g -o mouseemu mouseemu.c
16
+ $(CC) $(CPPFLAGS) $(CFLAGS) -Wall -g $(LDFLAGS) -o mouseemu mouseemu.c
18
rm -f *.o core* mouseemu