home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-01-18 | 958 b | 51 lines |
- #
- # Makefile for INGRES EQUEL precompiler
- #
- # @(#)Makefile 8.3 1/28/87
- #
-
- include ../Config
-
- INGRES= ../..
- H= ../h
- LIB= $(INGRES)/lib
- BIN= $(INGRES)/bin
-
- OBJS= main.o grammar.o yylex.o cvar.o include.o name.o getkey.o \
- number.o operator.o prtout.o string.o comment.o retrieve.o display.o \
- getch.o cmap.o yyerror.o nalloc.o
- HDRS= constants.h globals.h
- SRCS= main.c yylex.c grammar.y cvar.c include.c name.c getkey.c \
- number.c operator.c prtout.c string.c comment.c retrieve.c display.c \
- getch.c cmap.c yyerror.c nalloc.c tokens.y
-
- GUTIL= $(LIB)/gutil
- # include -lm
- LIBS= $(GUTIL) -lm
-
- YACC= yacc
- CFLAGS= $(CONFIG) -I$H -O
- LINTFLAGS= -huc -I$H
- LDFLAGS=
- YFLAGS= -d
- HEADER= Equel Precompiler
- CP= cp
- CHMOD= chmod
- CHOWN= -chown
- BINMODE=755
-
- equel: $(OBJS)
- $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o equel
- install -m $(BINMODE) equel $(BIN)
- rm equel
-
- new:
- rm -f equel
-
- clean:
- rm -f *.o
- rm -f a.out y.tab.c y.tab.h core equel grammar.c
-
- install: equel
-
-