# ############################################################### # # Makefile for i860 using Portland Group DOS 386 cross-compilers # assumes BORLAND make Version 2.0 # # rules only, independent of board memory size # # Phil Atkin, DIVISION # 6th jan 92, 19th mar 92 # # ############################################################### # # macros # PGI=y:\control\gt860el\pgi INCLUDE=$(pgi)\include BIN=$(pgi)\bin CFLAGS=-x 50 -stdinc $(INCLUDE) -astype 1 -def i860 -opt $(COPT_LEVEL) FFLAGS=-astype 1 -opt $(FOPT_LEVEL) AFLAGS=-dos LFLAGS=-dos -e pstart -k -T $(CDADDR) -d $(LDADDR) -t ## # here are the general rules # # the compile / assemble passes for pgftn and pgc have been merged ## .c.o: $(BIN)\pgc $*.c $(CFLAGS) -asm $*.s $(BIN)\as860 $(AFLAGS) -o $*.o $*.s .f.o: $(BIN)\pgftn $*.f $(FFLAGS) -asm $*.s $(BIN)\as860 $(AFLAGS) -o $*.o $*.s .o.860: $(BIN)\ld860 $(PAGETABLE) -f $*.lnk $(LFLAGS) -o $*.860 # # end #