# makefile template # for Power C -- should work with other C compilers, with adjustments CC = pc LD = pcl # if you don't have rm under DOS, you can use del instead. RM = rm # in PowerC, -f- means compile using dummy float package. CFLAGS = -c -f- # in Power C, -d means link using dummy float lib. LDFLAGS = -d all : a2ibm ibm2a a2ibm : a2ibm.c $(CC) $(CFLAGS) a2ibm.c $(LD) $(LDFLAGS) a2ibm.mix +$(RM) a2ibm.mix ibm2a : ibm2a.c $(CC) $(CFLAGS) ibm2a.c $(LD) $(LDFLAGS) ibm2a.mix +$(RM) ibm2a.mix .SUFFIXES : .mix .c .h .exe