makefile (146299) | makefile (170331) |
---|---|
1# /**************************************************************** 2# Copyright (C) Lucent Technologies 1997 3# All Rights Reserved 4# 5# Permission to use, copy, modify, and distribute this software and 6# its documentation for any purpose and without fee is hereby 7# granted, provided that the above copyright notice appear in all 8# copies and that both that the copyright notice and this --- 13 unchanged lines hidden (view full) --- 22# THIS SOFTWARE. 23# ****************************************************************/ 24 25CFLAGS = -g 26CFLAGS = -O2 27CFLAGS = 28 29CC = gcc -Wall -g -Wwrite-strings | 1# /**************************************************************** 2# Copyright (C) Lucent Technologies 1997 3# All Rights Reserved 4# 5# Permission to use, copy, modify, and distribute this software and 6# its documentation for any purpose and without fee is hereby 7# granted, provided that the above copyright notice appear in all 8# copies and that both that the copyright notice and this --- 13 unchanged lines hidden (view full) --- 22# THIS SOFTWARE. 23# ****************************************************************/ 24 25CFLAGS = -g 26CFLAGS = -O2 27CFLAGS = 28 29CC = gcc -Wall -g -Wwrite-strings |
30CC = gcc -fprofile-arcs -ftest-coverage 31 # followed by gcov onefile.c; cat onefile.c.gcov | 30CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov |
32CC = gcc -Wall -g 33CC = cc | 31CC = gcc -Wall -g 32CC = cc |
33CC = gcc -O4 34CC = gcc -Wall -g |
|
34 | 35 |
36 |
|
35YACC = bison -y 36YACC = yacc 37YFLAGS = -d 38 39OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o 40 41SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \ 42 maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c 43 44LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \ 45 lib.c run.c tran.c missing95.c 46 47SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \ | 37YACC = bison -y 38YACC = yacc 39YFLAGS = -d 40 41OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o 42 43SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \ 44 maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c 45 46LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \ 47 lib.c run.c tran.c missing95.c 48 49SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \ |
48 vcvars32.bat buildwin.bat mac.code awk.1 | 50 vcvars32.bat buildwin.bat awk.1 |
49 50a.out: ytab.o $(OFILES) 51 $(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC) -lm 52 53$(OFILES): awk.h ytab.h proto.h 54 55ytab.o: awk.h proto.h awkgram.y 56 $(YACC) $(YFLAGS) awkgram.y --- 21 unchanged lines hidden (view full) --- 78 ls -l awk.tar.gz 79 @zip awk.zip $(SHIP) 80 ls -l awk.zip 81 82names: 83 @echo $(LISTING) 84 85clean: | 51 52a.out: ytab.o $(OFILES) 53 $(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC) -lm 54 55$(OFILES): awk.h ytab.h proto.h 56 57ytab.o: awk.h proto.h awkgram.y 58 $(YACC) $(YFLAGS) awkgram.y --- 21 unchanged lines hidden (view full) --- 80 ls -l awk.tar.gz 81 @zip awk.zip $(SHIP) 82 ls -l awk.zip 83 84names: 85 @echo $(LISTING) 86 87clean: |
86 rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov # proctab.c | 88 rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c |