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

(-)Makefile (-2 / +5 lines)
Lines 15-21 Link Here
15
OBJS=rail.o gram.o lex.o
15
OBJS=rail.o gram.o lex.o
16
16
17
CC=gcc
17
CC=gcc
18
CFLAGS=-DYYDEBUG -O
18
#CFLAGS=-DYYDEBUG -O
19
YACC=bison -y
19
YACC=bison -y
20
#YACC=byacc
20
#YACC=byacc
21
LEX=flex
21
LEX=flex
Lines 59-65 Link Here
59
	$(YACC) $(YFLAGS) -dv gram.y
59
	$(YACC) $(YFLAGS) -dv gram.y
60
60
61
rail: $(OBJS)
61
rail: $(OBJS)
62
	$(CC) $(CFLAGS) $(OBJS) -o rail
62
	$(CC) $(LDFLAGS) $(OBJS) -o rail
63
63
64
rail.rai: rail.tex
64
rail.rai: rail.tex
65
	latex rail
65
	latex rail
Lines 72-74 Link Here
72
72
73
rail.txt: rail.man
73
rail.txt: rail.man
74
	nroff -man rail.man >rail.txt
74
	nroff -man rail.man >rail.txt
75
	
76
%.o: %.c
77
	$(CC) $(CFLAGS) -c -o $@ $<

Return to bug 453148