mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / modules / debug / ioptrap / Makefile
blobdf0a6abfc5e1a32c964b135edf962d3ef1fdd08f
1 # _____ ___ ____ ___ ____
2 # ____| | ____| | | |____|
3 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
4 #-----------------------------------------------------------------------
5 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
6 # Licenced under Academic Free License version 2.0
7 # Review ps2sdk README & LICENSE files for further details.
9 # $Id: Makefile 597 2004-09-21 16:15:05Z pixel $
12 IOP_BIN = ioptrap.irx
14 IOP_INCS += -I$(PS2SDK)/common/include
15 IOP_CFLAGS += -Wall -fno-builtin-printf #-DTEST_TRAP
16 IOP_LDFLAGS += -s
18 IOP_OBJS = ioptrap.o handler.o breakpoint.o imports.o exports.o
19 IOP_LIBS =
21 all: $(IOP_BIN)
23 clean:
24 rm -f $(IOP_BIN) $(IOP_OBJS)
26 rebuild: clean all
28 run:
29 ps2client -t 1 execiop host:$(IOP_BIN)
32 include $(PS2SDK)/Defs.make
33 include Rules.make