Ignore:
Timestamp:
06/06/09 13:40:55 (15 years ago)
Author:
Mateusz Hromada <ruanda@…>
Branches:
master
Children:
12743b9
Parents:
63a5739
git-author:
Mateusz Hromada <ruanda@…> (06/06/09 13:40:55)
git-committer:
Mateusz Hromada <ruanda@…> (06/06/09 13:40:55)
Message:

Add flex support in configure scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • auto/output/Makefile

    rf7b30b9 r44f59b8  
    88CC = $CC 
    99BISON = $BISON 
     10FLEX = $FLEX 
    1011RM = $RM 
    1112RMDIR = $RMDIR 
     
    3839ALL_LDLIBS = \$(LDLIBS) 
    3940ALL_BFLAGS = \$(BFLAGS) 
    40 ALL_FFLAGS = \$(FFLAGS) 
     41ALL_FFLAGS = -t \$(FFLAGS) 
    4142 
    4243VPATH = ./src 
    4344 
    4445PROGRAMS = tok 
    45 TOK_OBJ_FILES = tok.o 
     46TOK_OBJ_FILES = tok.o tok_cmdline.o 
     47TOK_FLEX_FILES = tok.l 
    4648CONFIG_FILES = src/config.h Makefile 
    4749 
     
    6769        \$(RM) \$(PROGRAMS) 
    6870        \$(RM) \$(TOK_OBJ_FILES) 
     71        \$(RM) \$(patsubst %.l,%.c,\$(TOK_FLEX_FILES)) 
    6972        #make -C app clean 
    7073 
     
    8487        \$(CC) -c \$< -o \$@ \$(ALL_CFLAGS) 
    8588 
     89%.o: %.l 
     90        \$(FLEX) -t \$< > \$@ 
     91 
    8692%: %.o 
    8793        \$(CC) \$? -o \$@ \$(ALL_LDFLAGS) \$(ALL_CFLAGS) \$(ALL_LDLIBS) 
Note: See TracChangeset for help on using the changeset viewer.