Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 108753
Collapse All | Expand All

(-)makefile.old (-5 / +5 lines)
Lines 25-32 Link Here
25
#
25
#
26
BINDIR=/usr/bin/
26
BINDIR=/usr/bin/
27
# note the terminal / in the above line is needed
27
# note the terminal / in the above line is needed
28
CC=gcc
28
#CC=gcc
29
CFLAGS=-ansi -Wall -m32 -ggdb -DBINDIR=\"$(BINDIR)\"
29
MY_CFLAGS=$(CFLAGS) -ansi -Wall -DBINDIR=\"$(BINDIR)\"
30
30
31
# on PC add:
31
# on PC add:
32
#	-DPC
32
#	-DPC
Lines 66-78 sharing: Link Here
66
		uno_generic.c uno_intervals.c uno_lts.c
66
		uno_generic.c uno_intervals.c uno_lts.c
67
67
68
uno:	uno.c
68
uno:	uno.c
69
	$(CC) $(CFLAGS) -o uno uno.c
69
	$(CC) $(MY_CFLAGS) -o uno uno.c
70
70
71
uno_local:	c_gram.h $(OFILES) 
71
uno_local:	c_gram.h $(OFILES) 
72
	$(CC) $(CFLAGS) -o uno_local $(OFILES)
72
	$(CC) $(MY_CFLAGS) -o uno_local $(OFILES)
73
73
74
uno_global:	uno_global.o uno_fcts.o
74
uno_global:	uno_global.o uno_fcts.o
75
	$(CC) $(CFLAGS) -o uno_global uno_global.o uno_fcts.o
75
	$(CC) $(MY_CFLAGS) -o uno_global uno_global.o uno_fcts.o
76
76
77
c_gram.c c_gram.h:	c_gram.y tree.h symtab.h globals.h
77
c_gram.c c_gram.h:	c_gram.y tree.h symtab.h globals.h
78
	bison -v -d -o c_gram.c c_gram.y	# expect 6 shift/reduce 23 reduce/reduce conflicts
78
	bison -v -d -o c_gram.c c_gram.y	# expect 6 shift/reduce 23 reduce/reduce conflicts

Return to bug 108753