# This is the makefile for PCIEXP used for Borland C++ 3.1. NAME=pciexp CC = bcc -O2 -Z -1 -ml -d -f- -w-cln -w-pro -v LINK = tlink /c/v/s OBJ= pciexp.obj commands.obj tools.obj os.obj pci.obj LIBS=\borlandc\lib\cl.lib \borlandc\lib\c0l.obj .c.obj: $(CC) -c $< # Create symbol file for Soft-ICE pciexp.sym: pciexp.exe msym pciexp.map $(NAME).exe: $(OBJ) $(LINK) $(OBJ),$(NAME),$(NAME),$(LIBS) commands.obj: commands.c commands.h table.h tools.h siop.h general.out: general.ss nasm -o -l -v -a 825 general.ss tools.obj: tools.c tools.h siop.h pciexp.obj: pciexp.c general.out commands.h table.h tools.h siop.h os.h pci.h os.obj: os.c os.h commands.h tools.h pci.obj: pci.c pci.h $(NAME).zip: $(NAME).exe files pkzip -u -wH $(NAME).zip @files clean: if exist *.obj del *.obj if exist *.out del *.out if exist *.lis del *.lis if exist *.bak del *.bak if exist *.map del *.map if exist *.sym del *.sym