Skip to content
Snippets Groups Projects
Commit b7e04827 authored by sof's avatar sof
Browse files

[project @ 1997-03-13 09:00:49 by sof]

Makefile following new setup
parent 0f488ed1
No related merge requests found
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# $Id: Makefile,v 1.2 1996/11/21 16:49:13 simonm Exp $ # $Id: Makefile,v 1.3 1997/03/13 09:02:20 sof Exp $
TOP=../../.. TOP=../..
FlexSuffixRules = YES include $(TOP)/mk/boilerplate.mk
YaccSuffixRules = YES WAYS=
include $(TOP)/ghc/mk/ghc.mk
YFLAGS = -d YACC_OPTS += -d
SRCS = syntax.tab.c lex.c id.c tree.c yyerror.c gen.c main.c C_SRCS = syntax.tab.c lex.c id.c tree.c yyerror.c gen.c main.c
PROG = ugen C_PROG = ugen
LIBS = $(FLEX_LIB) LIBS = $(FLEX_LIB)
DESTDIR = $(INSTBINDIR)
clean :: CLEAN_FILES += syntax.tab.c syntax.tab.h
$(RM) lex.c syntax.tab.c syntax.tab.h
include $(TOP)/mk/Cprog.mk #
# Include flex & bison output in the source distribution.
#
SRC_DIST_FILES+= lex.c syntax.tab.c syntax.tab.h
include $(TOP)/mk/target.mk
#
# Needed quite early in the booting of the compiler, so
# build it right away.
#
boot :: all
TOP=../../.. TOP=../..
include $(TOP)/ghc/mk/ghc.mk include $(TOP)/mk/boilerplate.mk
WAYS=
SRCS=unlit.c C_SRCS=unlit.c
PROG=unlit C_PROG=unlit
DESTDIR=$(INSTLIBDIR_GHC)
include $(TOP)/mk/Cprog.mk # Get it over with!
boot :: all
#
# Install until in lib/.*
#
INSTALL_LIBEXECS += $(C_PROG)
include $(TOP)/mk/target.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment