Makefile 479 Bytes
default install: disasm libcpdis.a

libcpdis.a:	disasm.o disasmif.o
	ar rv libcpdis.a disasm.o disasmif.o

disasm:	disasm.o disasmif.o disasmt.o
	CC -g -o disasm disasm.o disasmif.o disasmt.o

disasmt.o:	disasmt.cxx
	CC -c -g -O disasmt.cxx

disasm.o:	disasm.c
	$(CC) -c -O -g -nostdinc -I$(ROOT)/PR/rspsim -I$(ROOT)/usr/include -I$(ROOT)/PR/include disasm.c

disasmif.o:	disasmif.c
	$(CC) -c -O -g -I$(ROOT)/PR/rspsim disasmif.c

clobber:
	-rm -f *.o disasm

clean:
	-rm -f *.o