Changeset 44f59b8
- Timestamp:
- 06/06/09 13:40:55 (16 years ago)
- 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)
- Location:
- auto
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
auto/defaults
r63a5739 r44f59b8 11 11 DEFAULT_CC='/usr/bin/gcc' 12 12 DEFAULT_BISON='/usr/bin/bison' 13 DEFAULT_FLEX='/usr/bin/flex' 13 14 DEFAULT_RM='/bin/rm -f' 14 15 DEFAULT_RMDIR='/bin/rm -rf' -
auto/options
r63a5739 r44f59b8 14 14 if [ -z "$CC" ]; then CC=$DEFAULT_CC; fi 15 15 if [ -z "$BISON" ]; then BISON=$DEFAULT_BISON; fi 16 if [ -z "$FLEX" ]; then FLEX=$DEFAULT_FLEX; fi 16 17 if [ -z "$RM" ]; then RM=$DEFAULT_RM; fi 17 18 if [ -z "$RMDIR" ]; then RMDIR=$DEFAULT_RMDIR; fi … … 65 66 CC=*) CC="$value" ;; 66 67 BISON=*) BISON="$value" ;; 68 FLEX=*) FLEX="$value" ;; 67 69 RM=*) RM="$value" ;; 68 70 RMDIR=*) RMDIR="$value" ;; -
auto/output/Makefile
rf7b30b9 r44f59b8 8 8 CC = $CC 9 9 BISON = $BISON 10 FLEX = $FLEX 10 11 RM = $RM 11 12 RMDIR = $RMDIR … … 38 39 ALL_LDLIBS = \$(LDLIBS) 39 40 ALL_BFLAGS = \$(BFLAGS) 40 ALL_FFLAGS = \$(FFLAGS)41 ALL_FFLAGS = -t \$(FFLAGS) 41 42 42 43 VPATH = ./src 43 44 44 45 PROGRAMS = tok 45 TOK_OBJ_FILES = tok.o 46 TOK_OBJ_FILES = tok.o tok_cmdline.o 47 TOK_FLEX_FILES = tok.l 46 48 CONFIG_FILES = src/config.h Makefile 47 49 … … 67 69 \$(RM) \$(PROGRAMS) 68 70 \$(RM) \$(TOK_OBJ_FILES) 71 \$(RM) \$(patsubst %.l,%.c,\$(TOK_FLEX_FILES)) 69 72 #make -C app clean 70 73 … … 84 87 \$(CC) -c \$< -o \$@ \$(ALL_CFLAGS) 85 88 89 %.o: %.l 90 \$(FLEX) -t \$< > \$@ 91 86 92 %: %.o 87 93 \$(CC) \$? -o \$@ \$(ALL_LDFLAGS) \$(ALL_CFLAGS) \$(ALL_LDLIBS) -
auto/summary
r63a5739 r44f59b8 29 29 CC : $CC 30 30 BISON : $BISON 31 FLEX : $FLEX 31 32 RM : $RM 32 33 RMDIR : $RMDIR
Note: See TracChangeset
for help on using the changeset viewer.