257c916acf
compile and many of them may disappear. For example the xlr_boot1_console.c is old code that is ifdef'd out. I will clean these sorts of things up as I make progress on the port. So far the only thing I have I think straightened out is the bits around the interupt handling... and hey that may be broke ;-)
15 lines
390 B
Makefile
15 lines
390 B
Makefile
RM = rm
|
|
MSGRNG_CFG = msgring.cfg
|
|
|
|
MSGRNG_CFG_C = $(patsubst %.cfg,%.c,$(MSGRNG_CFG))
|
|
|
|
#all: msgring.l msgring.y msgring.cfg
|
|
all: $(MSGRNG_CFG)
|
|
flex -omsgring.lex.c msgring.l
|
|
bison -d -omsgring.yacc.c msgring.y
|
|
gcc -g3 msgring.lex.c msgring.yacc.c -o msgring
|
|
./msgring -i $(MSGRNG_CFG) -o $(MSGRNG_CFG_C)
|
|
|
|
clean:
|
|
$(RM) -f msgring.lex.c msgring.yacc.c msgring.yacc.h msgring msgring.o*
|