URL
https://opencores.org/ocsvn/tms1000/tms1000/trunk
Subversion Repositories tms1000
[/] [tms1000/] [trunk/] [assembler/] [Makefile] - Rev 5
Go to most recent revision | Compare with Previous | Blame | View Log
# Makefile for CASM package# -----------------------------------------------------------------------------# You may need to change the following definitions. In particular you will# need to remove the -DUSE_TIMER if you don't have the setitimer() system# call, and you may need to chage X11LIBS and X11INCS if X isn't in /usr/X11.## If you are using a version of Flex later than 2.4.1 you can optionally# remove the "-DOLD_FLEX" from CFLAGS, resulting in a completely imperceptible# performance improvement in CASM.# -----------------------------------------------------------------------------CC = gccCFLAGS = -g -Dstricmp=strcasecmp -DUSE_TIMER -DENTER_KEY_MOD -DOLD_FLEXYACC = bisonYFLAGS = -d -y# YACC = yacc# YFLAGS = -dLEX = flex# -----------------------------------------------------------------------------# You shouldn't have to change anything below this point, but if you do please# let me know why so I can improve this Makefile.# -----------------------------------------------------------------------------PROGRAMS = casmHEADERS = casm.h symtab.h xio.hSOURCES = casm.c casml.l casmy.y symtab.cOBJECTS = casm.o symtab.o lex.yy.o y.tab.oINTERMEDIATE = lex.yy.c y.tab.c y.tab.hall: $(PROGRAMS)casm: $(OBJECTS)$(CC) -o $@ $(OBJECTS)casm.o: casm.c casm.h$(CC) -c $(CFLAGS) -o $@ $<lex.yy.o: lex.yy.c casm.h symtab.h y.tab.h$(CC) -c $(CFLAGS) -o $@ $<lex.yy.c: casml.l$(LEX) $(LFLAGS) $<y.tab.o: y.tab.c casm.h symtab.h$(CC) -c $(CFLAGS) -o $@ $<y.tab.c y.tab.h: casmy.y$(YACC) $(YFLAGS) $<symtab.o: symtab.c symtab.h$(CC) -c $(CFLAGS) -o $@ $<clean:rm -f $(PROGRAMS) $(OBJECTS) $(INTERMEDIATE)
Go to most recent revision | Compare with Previous | Blame | View Log
