Respect CFLAGS.

Reported by naddy@
This commit is contained in:
kevlo 2001-03-01 03:19:43 +00:00
parent 21253246a0
commit fa58941a00
2 changed files with 18 additions and 7 deletions

View File

@ -1,8 +1,15 @@
--- Makefile.orig Tue Feb 23 22:21:39 1993
+++ Makefile Tue Feb 4 02:10:15 1997
@@ -1,4 +1,4 @@
--- Makefile.orig Wed Feb 24 06:21:39 1993
+++ Makefile Thu Mar 1 10:44:58 2001
@@ -1,9 +1,9 @@
-CC=cc
+CC=cc -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\"
all: c2t
c2t: c2t.o
- $(CC) -O -o c2t c2t.o
+ $(CC) $(CFLAGS) -o c2t c2t.o
c2t.o: c2t.c
- $(CC) -O -c c2t.c
+ $(CC) $(CFLAGS) -c c2t.c

View File

@ -1,6 +1,6 @@
--- Makefile.orig Mon Aug 10 21:14:48 1992
+++ Makefile Tue Feb 4 01:20:50 1997
@@ -1,6 +1,8 @@
--- Makefile.orig Tue Aug 11 04:14:48 1992
+++ Makefile Thu Mar 1 10:49:51 2001
@@ -1,9 +1,11 @@
# Makefile of LUNAR
-CFLAGS= -O
@ -9,4 +9,8 @@
+BITMAPFILE= $(PREFIX)/share/chinese/lunar.bitmap
lunar: lunar.o
cc -o lunar lunar.o
- cc -o lunar lunar.o
+ cc $(CFLAGS) -o lunar lunar.o
clean:
rm *.o core