head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	96.03.20.18.44.52;	author jbev;	state Exp;
branches;
next	1.3;

1.3
date	96.03.20.18.12.43;	author jbev;	state Exp;
branches;
next	1.2;

1.2
date	96.03.20.18.09.10;	author jbev;	state Exp;
branches;
next	1.1;

1.1
date	95.02.16.23.50.23;	author jbev;	state Exp;
branches;
next	;


desc
@Initial RCS file.
@


1.4
log
@More mods for Alpha port.
@
text
@# Makefile for nbcpp
#
#
# *$Log: Makefile,v $
# *Revision 1.3  1996/03/20 18:12:43  jbev
# *Mods for alpha port.
# *
# *Revision 1.2  1996/03/20 18:09:10  jbev
# *Add depend and clobber entries.
# *
#

CC = cc
#CFLAGS = -O -taso -xtaso -xtaso_short
CFLAGS = -O # -migrate
CPFLAGS = -M
INSTALL = cp
YACC = yacc
BINDIR = /system/bin
MAKEFILE = Makefile

OBJS = nbcpp.o nbcpy.o
SRCS = nbcpp.c nbcpy.y 

all: nbcpp

nbcpp: $(OBJS)
	$(CC) $(CFLAGS) -o nbcpp $(OBJS)
	/bin/chmod 755 nbcpp

# nbcpp modules

nbcpp.o: nbcpp.c

nbcpy.o: nbcpy.c yylex.c

nbcpy.c: nbcpy.y
	$(YACC) nbcpy.y
	mv y.tab.c nbcpy.c

depend: $(SRCS) $(MAKEFILE)
	$(BINDIR)/dodep $(CPFLAGS) $(MAKEFILE) $(SRCS) >dep.out
	mv dep.out $(MAKEFILE)

clean:
	-rm -f *.o
	-rm -f nbcpy.c

clobber: clean
	-rm -f nbcpp
	-rm -f core

# Copy the file into bindir
install: all
	$(INSTALL) nbcpp $(BINDIR)

# DO NOT DELETE THIS LINE -- the dependencies begin here

@


1.3
log
@Mods for alpha port.
@
text
@d5 3
d14 2
a15 2
#CFLAGS = -O -Di386 -Umpx -Dunix -taso -xtaso -xtaso_short
CFLAGS = -O -Di386 -Umpx -Dunix # -migrate
d37 1
a37 1
nbcpp.c: nbcpy.y
@


1.2
log
@Add depend and clobber entries.
@
text
@d4 4
a7 1
# *$Log: $
d11 2
a12 1
CFLAGS = -O -Di386 -Umpx -Dunix
@


1.1
log
@Initial revision
@
text
@d1 2
d4 1
a4 1
# Makefile for nbcpp
d7 1
a7 1
CC = cc -DNULL=0
d9 1
a11 1

d13 1
d16 1
d34 4
d39 5
a43 2
	-rm -f *.o nbcpp
	-rm -f cpy.c
d46 1
a46 1
# Copy the files into bindir
d50 2
a51 1
force:
@
