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


1.6
date     93.05.16.18.28.28;  author kenm;  state Exp;
branches ;
next     1.5;

1.5
date     93.02.22.16.16.27;  author kenm;  state Exp;
branches ;
next     1.4;

1.4
date     93.02.22.13.42.10;  author kenm;  state Exp;
branches ;
next     1.3;

1.3
date     93.02.22.12.29.48;  author kenm;  state Exp;
branches ;
next     1.2;

1.2
date     93.02.02.13.35.23;  author kenm;  state Exp;
branches ;
next     1.1;

1.1
date     93.01.27.11.02.12;  author kenm;  state Exp;
branches ;
next     ;


desc
@@


1.6
log
@added clean
@
text
@# $Header: Makefile,v 1.5 93/02/22 16:16:27 kenm Exp $
# Copyright (C) 1993 Mentor Graphics Corporation

SRCS = main.c wr_blif.c wr_edif.c wr_slif.c
OBJS = main.o wr_blif.o wr_edif.o wr_slif.o
CFLAGS = -g $(XCFLAGS) -I../util -I../edifparse -I../netlist
PROG = e2fmt
INSTDIR = ../../bin
LIBS = ../edifparse/edifparse.a ../netlist/netlist.a ../util/util.a

prog: $(PROG)

$(PROG): $(OBJS) $(LIBS)
	-/bin/rm -f $(PROG)
	$(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $(PROG).new
	mv -f $(PROG).new $(PROG)

install: $(PROG)
	-/bin/rm -rf $(INSTDIR)/$(PROG)
	cp $(PROG) $(INSTDIR)/$(PROG)
	chmod 775 $(INSTDIR)/$(PROG)

clean:; /bin/rm -f $(OBJS) $(PROG)

tags:; ctags $(SRCS) ../util/*.c ../netlist/*.c

###
main.o: ../netlist/nets.h ../util/util.h ../util/hash.h \
	../edifparse/eprop.h ../edifparse/token.h
wr_blif.o: ../netlist/nets.h ../util/util.h ../util/hash.h \
	../edifparse/eprop.h
wr_edif.o: ../netlist/nets.h ../util/util.h ../util/hash.h \
	../edifparse/eprop.h
wr_slif.o: ../netlist/nets.h ../util/util.h ../util/hash.h \
	../edifparse/eprop.h
@


1.5
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Header: Makefile,v 1.4 93/02/22 13:42:10 kenm Exp $
d22 2
@


1.4
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Header: Makefile,v 1.3 93/02/22 12:29:48 kenm Exp $
d15 1
a15 1
	$(CC) -z $(CFLAGS) $(OBJS) $(LIBS) -o $(PROG).new
@


1.3
log
@added copyright
@
text
@d1 1
a1 1
# $Header: Makefile,v 1.3 93/02/22 12:05:33 kenm Exp $
d4 6
a9 6
SRCS := main.c wr_blif.c wr_slif.c wr_edif.c
OBJS := main.o wr_blif.o wr_slif.o wr_edif.o
CFLAGS = -g -I../util -I../edifparse -I../netlist
PROG := e2fmt
INSTDIR := ../../bin
LIBS := ../edifparse/edifparse.a ../netlist/netlist.a ../util/util.a
@


1.2
log
@*** empty log message ***
@
text
@d1 2
d5 1
a5 1
OBJS := $(SRCS:%.c=%.o)
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
SRCS := main.c writeblif.c writeslif.c
d25 7
a31 3
	../edifparse/token.h
writeblif.o: ../netlist/nets.h ../util/util.h ../util/hash.h
writeslif.o: ../netlist/nets.h ../util/util.h ../util/hash.h
@
