File: use-env-flags.diff

package info (click to toggle)
kdrill 6.5deb2-13.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,392 kB
  • sloc: ansic: 7,640; makefile: 47
file content (18 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/makedic/Makefile
+++ b/makedic/Makefile
@@ -5,13 +5,13 @@
 all:	makeedict makedic
 
 makeedict:	makeedict.c
-	gcc -o $@ makeedict.c
+	gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ makeedict.c
 
 #This old version is just kept here for posterity's sake
 #It's doubtful you will want to make a new kanjidic entry.
 #but if you do, it's here
 makedic:	makedic.c
-	gcc -o $@ makedic.c
+	gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ makedic.c
 
 DICTS=hira.edic hiraplus.edic kata.edic kataplus.edic fullkatahira.edic