📄 makefile
字号:
#/bin/sh#------------------------------------------------------------------------## Copyright 1998 by Paul Leventis, Jonathan Rose and the University of ## Toronto. Use is permitted, provided that this attribution is retained ## and no part of the code is re-distributed or included in any commercial## product except by written agreement with the above parties. ## ## For more information, contact us directly: ## Paul Leventis (leventi@eecg.utoronto.ca) # # Jonathan Rose (jayar@eecg.toronto.edu) ## Department of Electrical and Computer Engineering ## University of Toronto, 10 King's College Rd., ## Toronto, Ontario, CANADA M5S 1A4 ## Phone: (416) 978-6992 Fax: (416) 971-2286 ##------------------------------------------------------------------------## This Makefile is for edif2blif, a tool for converting edif files to # the BLIF format. Please read the README file.## P. Leventis, May 1998# UtilitiesCC = gccYACC = bisonLEX = flex RM = /bin/rm -fMV = mv -fCAT = catSED = sed# FlagsCFLAGS = -O3LDFLAGS = LIBS = # Objects/FilesTARGET = edif2blifOBJ = e_graph.o e_parse.o e_table.o e_hash.o main.o e_blif.o e_ll.oLEXOBJ = lex.yy.cYINTMD = e_parse.tab.c$(TARGET): $(OBJ) $(CC) $(LDFLAGS) $(OBJ) -o $(TARGET) $(LIBS) touch main.c e_parse.o: e_parse.c e_token.c e_graph.h e_hash.h e_parse.h e_shared.h e_ll.h $(CC) $(CFLAGS) -c e_parse.ce_parse.c: e_parse.y $(YACC) -pEPyy e_parse.y $(MV) $(YINTMD) e_parse.ce_token.c: e_token.l $(LEX) e_token.l $(CAT) $(LEXOBJ) | $(SED) "s/yy/EPyy/g" | $(SED) "s/EPyywrap/yywrap/g" > e_token.c $(RM) $(LEXOBJ)e_hash.o: e_hash.c e_hash.h e_shared.h $(CC) $(CFLAGS) -c e_hash.ce_graph.o: e_graph.c e_graph.h e_shared.h $(CC) $(CFLAGS) -c e_graph.ce_table.o: e_table.c e_graph.h e_hash.h e_shared.h $(CC) $(CFLAGS) -c e_table.ce_blif.o: e_blif.c e_graph.h e_shared.h $(CC) $(CFLAGS) -c e_blif.ce_ll.o: e_ll.c e_ll.h e_shared.h $(CC) $(CFLAGS) -c e_ll.cmain.o: main.c e_graph.h e_parse.h e_shared.h $(CC) $(CFLAGS) -c main.cclean: $(RM) $(OBJ) $(TARGET) e_parse.c e_token.c backup: clean $(RM) -f backup.tar backup.tar.gz tar cf backup.tar *.[chly] Makefile README gzip backup.tar
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -