![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Help Compiling NJ's EMUS within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I tried to compile NJ's emus using the make file in his source and i get: Making object tree.... The ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
I tried to compile NJ's emus using the make file in his source and i get:
Making object tree.... The syntax of the command is incorrect. make: *** [obj_cps2/common] Error 1 when I return to where the source is located, I find an obj_cps2 folder and a -p folder but are all empty. Is that something wrong in his make file or is it on my end? #EDIT: After going to the section in the makefile i changed his forward slashes to backslashes i was getting a message about: directory or filename -p already exists error I kept typing make as it went through all the directories and then it took me to a new error: Making object tree... Compiling src/emumain.c... psp-gcc: no input files make: *** [obj_cps2/emumain.o] so i dont know whats going on now. Last edited by N3oGhoZt; 12-17-2006 at 01:17 AM.. |
|
|
|
|
|
|
#3 |
![]() |
post what you have in your makefile and what version of NJ's emu source you are trying to compile
__________________
[FONT=Fixedsys][spoiler="PSP DAX_Hacks"]PSP1001 3.71-M33-4 ------------------------------------------ - 17 Diff Castlevania Games on 4Gb Stick Cps2psp2.30 - MVSpsp[/FONT][FONT=Fixedsys]2.30[/FONT][FONT=Fixedsys] + Bootlegs - gpSP09 - PsUltraRip - Manhunt2 Uncensored [/spoiler] [/FONT][FONT=Fixedsys]Consoles Pwnd: PSP, Xbox360 Pwnd: PSP, PSOne, PS2, Xbox360 [/FONT] |
|
|
|
|
|
#4 | |
|
Quote:
Again, I went in and changed out his / to \ where needed. Ran 'make' cmd over and over until it created the directory tree (because i kept getting an error stating the the dir -p already existed (this seemed to get me to some compiling but still the same end as above. Nj's original Make file Code:
#------------------------------------------------------------------------------ # # CPS1/CPS2/NEOGEO Emulator for PSP Makefile # #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Configration #------------------------------------------------------------------------------ #BUILD_CPS1PSP = 1 BUILD_CPS2PSP = 1 #BUILD_MVSPSP = 1 SAVE_STATE = 1 #KERNEL_MODE = 1 #SOUND_TEST = 1 RELEASE = 1 #------------------------------------------------------------------------------ # Defines #------------------------------------------------------------------------------ VERSION_MAJOR = 1 VERSION_MINOR = 6 VERSION_BUILD = 3 ifdef BUILD_CPS1PSP BUILD_CPS2PSP= BUILD_MVSPSP= SOUND_TEST= TARGET = CPS1PSP PSP_EBOOT_ICON = data/cps1.png endif ifdef BUILD_CPS2PSP BUILD_MVSPSP= SOUND_TEST= TARGET = CPS2PSP PSP_EBOOT_ICON = data/cps2.png endif ifdef BUILD_MVSPSP VERSION_MAJOR = 1 VERSION_MINOR = 6 VERSION_BUILD = 3 TARGET = MVSPSP PSP_EBOOT_ICON = data/mvs.png endif PBPNAME_STR = $(TARGET) ifdef BUILD_MVSPSP VERSION_STR = $(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_BUILD)[Final] else VERSION_STR = $(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_BUILD) endif PSP_EBOOT_TITLE = $(PBPNAME_STR) $(VERSION_STR) EXTRA_TARGETS = mkdir EBOOT.PBP delelf EXTRA_CLEAN = pspclean #------------------------------------------------------------------------------ # Compiler Flags #------------------------------------------------------------------------------ CFLAGS = -O3 -Wundef -Wunused #------------------------------------------------------------------------------ # Compiler Defines #------------------------------------------------------------------------------ CDEFS = -DINLINE='static __inline' \ -Dinline=__inline \ -D__inline__=__inline \ -DBUILD_$(TARGET)=1 \ -DPBPNAME_STR=\"$(PBPNAME_STR)\" \ -DVERSION_STR=\"$(VERSION_STR)\" \ -DVERSION_MAJOR=$(VERSION_MAJOR) \ -DVERSION_MINOR=$(VERSION_MINOR) \ -DVERSION_BUILD=$(VERSION_BUILD) \ -DPSP ifdef KERNEL_MODE CDEFS += -DKERNEL_MODE=1 endif ifdef SAVE_STATE CDEFS += -DSAVE_STATE=1 endif ifdef SOUND_TEST CDEFS += -DSOUND_TEST=1 endif ifdef RELEASE CDEFS += -DRELEASE=1 else CDEFS += -DRELEASE=0 endif #------------------------------------------------------------------------------ # Object File Output Directtory #------------------------------------------------------------------------------ ifdef BUILD_CPS1PSP OBJ = obj_cps1 endif ifdef BUILD_CPS2PSP OBJ = obj_cps2 endif ifdef BUILD_MVSPSP OBJ = obj_mvs endif #------------------------------------------------------------------------------ # File include path #------------------------------------------------------------------------------ INCDIR = \ src \ src/cpu/m68000 \ src/cpu/z80 \ src/zip \ src/zlib ifdef BUILD_CPS1PSP INCDIR += src/cps1 endif ifdef BUILD_CPS2PSP INCDIR += src/cps2 endif ifdef BUILD_MVSPSP INCDIR += src/mvs endif #------------------------------------------------------------------------------ # Linker Flags #------------------------------------------------------------------------------ LIBDIR = LDFLAGS = #------------------------------------------------------------------------------ # Library #------------------------------------------------------------------------------ USE_PSPSDK_LIBC = 1 LIBS = -lm -lc -lpspaudio -lpspgu -lpsppower -lpsprtc #------------------------------------------------------------------------------ # Object Directory #------------------------------------------------------------------------------ OBJDIRS = \ $(OBJ) \ $(OBJ)/cpu \ $(OBJ)/cpu/m68000 \ $(OBJ)/cpu/z80 \ $(OBJ)/common \ $(OBJ)/sound \ $(OBJ)/zip \ $(OBJ)/zlib \ $(OBJ)/psp \ $(OBJ)/psp/font \ $(OBJ)/psp/icon ifdef BUILD_CPS1PSP OBJDIRS += $(OBJ)/cps1 endif ifdef BUILD_CPS2PSP OBJDIRS += $(OBJ)/cps2 endif ifdef BUILD_MVSPSP OBJDIRS += $(OBJ)/mvs endif #------------------------------------------------------------------------------ # Object Files (common) #------------------------------------------------------------------------------ MAINOBJS = \ $(OBJ)/emumain.o \ $(OBJ)/zip/zfile.o \ $(OBJ)/zip/unzip.o \ $(OBJ)/cpu/m68000/m68000.o \ $(OBJ)/cpu/m68000/c68k.o \ $(OBJ)/cpu/z80/z80.o \ $(OBJ)/cpu/z80/cz80.o \ $(OBJ)/sound/sndintrf.o \ $(OBJ)/common/cache.o \ $(OBJ)/common/loadrom.o ifndef BUILD_MVSPSP MAINOBJS += $(OBJ)/common/coin.o endif ifdef SAVE_STATE MAINOBJS += $(OBJ)/common/state.o endif ifdef SOUND_TEST MAINOBJS += $(OBJ)/common/sndtest.o endif #------------------------------------------------------------------------------ # Object Files (CPS1PSP) #------------------------------------------------------------------------------ ifdef BUILD_CPS1PSP COREOBJS = \ $(OBJ)/cps1/cps1.o \ $(OBJ)/cps1/driver.o \ $(OBJ)/cps1/memintrf.o \ $(OBJ)/cps1/inptport.o \ $(OBJ)/cps1/dipsw.o \ $(OBJ)/cps1/timer.o \ $(OBJ)/cps1/vidhrdw.o \ $(OBJ)/cps1/sprite.o \ $(OBJ)/cps1/eeprom.o \ $(OBJ)/cps1/kabuki.o \ $(OBJ)/sound/2151intf.o \ $(OBJ)/sound/ym2151.o \ $(OBJ)/sound/qsound.o ICONOBJS = \ $(OBJ)/psp/icon/cps_s.o \ $(OBJ)/psp/icon/cps_l.o endif #------------------------------------------------------------------------------ # Object Files (CPS2PSP) #------------------------------------------------------------------------------ ifdef BUILD_CPS2PSP COREOBJS = \ $(OBJ)/cps2/cps2.o \ $(OBJ)/cps2/driver.o \ $(OBJ)/cps2/memintrf.o \ $(OBJ)/cps2/inptport.o \ $(OBJ)/cps2/timer.o \ $(OBJ)/cps2/vidhrdw.o \ $(OBJ)/cps2/sprite.o \ $(OBJ)/cps2/eeprom.o \ $(OBJ)/sound/qsound.o ICONOBJS = \ $(OBJ)/psp/icon/cps_s.o \ $(OBJ)/psp/icon/cps_l.o endif #------------------------------------------------------------------------------ # Object Files (MVSPSP) #------------------------------------------------------------------------------ ifdef BUILD_MVSPSP COREOBJS = \ $(OBJ)/mvs/mvs.o \ $(OBJ)/mvs/driver.o \ $(OBJ)/mvs/memintrf.o \ $(OBJ)/mvs/inptport.o \ $(OBJ)/mvs/dipsw.o \ $(OBJ)/mvs/timer.o \ $(OBJ)/mvs/vidhrdw.o \ $(OBJ)/mvs/sprite.o \ $(OBJ)/mvs/pd4990a.o \ $(OBJ)/mvs/biosmenu.o \ $(OBJ)/sound/2610intf.o \ $(OBJ)/sound/ym2610.o ICONOBJS = \ $(OBJ)/psp/icon/mvs_s.o \ $(OBJ)/psp/icon/mvs_l.o endif #------------------------------------------------------------------------------ # Object Files (common) #------------------------------------------------------------------------------ FONTOBJS = \ $(OBJ)/psp/font/jpnfont.o \ $(OBJ)/psp/font/graphic.o \ $(OBJ)/psp/font/ascii_14p.o \ $(OBJ)/psp/font/font_s.o \ $(OBJ)/psp/font/bshadow.o EXTOBJS = \ $(OBJ)/psp/psp.o \ $(OBJ)/psp/blend.o \ $(OBJ)/psp/config.o \ $(OBJ)/psp/filer.o \ $(OBJ)/psp/help.o \ $(OBJ)/psp/input.o \ $(OBJ)/psp/menu.o \ $(OBJ)/psp/mesbox.o \ $(OBJ)/psp/misc.o \ $(OBJ)/psp/ticker.o \ $(OBJ)/psp/usrintrf.o \ $(OBJ)/psp/video.o \ $(OBJ)/psp/sound.o ifdef BUILD_CPS1PSP EXTOBJS += $(OBJ)/psp/png.o else EXTOBJS += $(OBJ)/psp/bmp.o endif EXTOBJS += $(FONTOBJS) $(ICONOBJS) $(ADHOCOBJS) ZLIB = $(OBJ)/zlib.a OBJS= $(MAINOBJS) $(COREOBJS) $(EXTOBJS) $(ZLIB) #------------------------------------------------------------------------------ # Rules to make libraries #------------------------------------------------------------------------------ PSPSDK=$(shell psp-config --pspsdk-path) include $(PSPSDK)/lib/build.mak $(OBJ)/zlib.a: \ $(OBJ)/zlib/adler32.o \ $(OBJ)/zlib/compress.o \ $(OBJ)/zlib/crc32.o \ $(OBJ)/zlib/deflate.o \ $(OBJ)/zlib/inflate.o \ $(OBJ)/zlib/inftrees.o \ $(OBJ)/zlib/inffast.o \ $(OBJ)/zlib/trees.o \ $(OBJ)/zlib/zutil.o #--------------------------------------------------------------------- # Rules to manage files (CZ80) #--------------------------------------------------------------------- Z80_SRC = \ src/cpu/z80/cz80.c \ src/cpu/z80/cz80_op.c \ src/cpu/z80/cz80_opCB.c \ src/cpu/z80/cz80_opED.c \ src/cpu/z80/cz80_opXY.c \ src/cpu/z80/cz80_opXYCB.c $(OBJ)/cpu/z80/cz80.o: $(Z80_SRC) @echo Compiling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ #------------------------------------------------------------------------------ # Rules to manage files #------------------------------------------------------------------------------ $(OBJ)/%.o: src/%.c @echo Compiling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ $(OBJ)/%.o: src/%.S @echo Assembling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ $(OBJ)/%.o: src/%.s @echo Assembling $<... @$(AS) $(ASDEFS) $(ASFLAGS) -c $< -o$@ $(OBJ)/%.a: @echo Archiving $@... @$(AR) -r $@ $^ $(sort $(OBJDIRS)): @mkdir -p $(subst //,\,$@) pspclean: @echo Remove all object files and directories. @rm -rd $(OBJ) @rm -rf $(PSP_EBOOT_SFO) @rm -rf $(TARGET).elf delelf: @rm -rf $(PSP_EBOOT_SFO) @rm -rf $(TARGET).elf maketree: @echo Making object tree... mkdir: maketree $(sort $(OBJDIRS)) Code:
#------------------------------------------------------------------------------ # # CPS1/CPS2/NEOGEO Emulator for PSP Makefile # #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Configration #------------------------------------------------------------------------------ #BUILD_CPS1PSP = 1 BUILD_CPS2PSP = 1 #BUILD_MVSPSP = 1 SAVE_STATE = 1 #KERNEL_MODE = 1 #SOUND_TEST = 1 RELEASE = 1 #------------------------------------------------------------------------------ # Defines #------------------------------------------------------------------------------ VERSION_MAJOR = 1 VERSION_MINOR = 6 VERSION_BUILD = 3 ifdef BUILD_CPS1PSP BUILD_CPS2PSP= BUILD_MVSPSP= SOUND_TEST= TARGET = CPS1PSP PSP_EBOOT_ICON = data/cps1.png endif ifdef BUILD_CPS2PSP BUILD_MVSPSP= SOUND_TEST= TARGET = CPS2PSP PSP_EBOOT_ICON = data/cps2.png endif ifdef BUILD_MVSPSP VERSION_MAJOR = 1 VERSION_MINOR = 6 VERSION_BUILD = 3 TARGET = MVSPSP PSP_EBOOT_ICON = data/mvs.png endif PBPNAME_STR = $(TARGET) ifdef BUILD_MVSPSP VERSION_STR = $(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_BUILD)[Final] else VERSION_STR = $(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_BUILD) endif PSP_EBOOT_TITLE = $(PBPNAME_STR) $(VERSION_STR) EXTRA_TARGETS = mkdir EBOOT.PBP delelf EXTRA_CLEAN = pspclean #------------------------------------------------------------------------------ # Compiler Flags #------------------------------------------------------------------------------ CFLAGS = -O3 -Wundef -Wunused #------------------------------------------------------------------------------ # Compiler Defines #------------------------------------------------------------------------------ CDEFS = -DINLINE='static __inline' \ -Dinline=__inline \ -D__inline__=__inline \ -DBUILD_$(TARGET)=1 \ -DPBPNAME_STR=\"$(PBPNAME_STR)\" \ -DVERSION_STR=\"$(VERSION_STR)\" \ -DVERSION_MAJOR=$(VERSION_MAJOR) \ -DVERSION_MINOR=$(VERSION_MINOR) \ -DVERSION_BUILD=$(VERSION_BUILD) \ -DPSP ifdef KERNEL_MODE CDEFS += -DKERNEL_MODE=1 endif ifdef SAVE_STATE CDEFS += -DSAVE_STATE=1 endif ifdef SOUND_TEST CDEFS += -DSOUND_TEST=1 endif ifdef RELEASE CDEFS += -DRELEASE=1 else CDEFS += -DRELEASE=0 endif #------------------------------------------------------------------------------ # Object File Output Directtory #------------------------------------------------------------------------------ ifdef BUILD_CPS1PSP OBJ = obj_cps1 endif ifdef BUILD_CPS2PSP OBJ = obj_cps2 endif ifdef BUILD_MVSPSP OBJ = obj_mvs endif #------------------------------------------------------------------------------ # File include path #------------------------------------------------------------------------------ INCDIR = \ src \ src/cpu/m68000 \ src/cpu/z80 \ src/zip \ src/zlib ifdef BUILD_CPS1PSP INCDIR += src/cps1 endif ifdef BUILD_CPS2PSP INCDIR += src/cps2 endif ifdef BUILD_MVSPSP INCDIR += src/mvs endif #------------------------------------------------------------------------------ # Linker Flags #------------------------------------------------------------------------------ LIBDIR = LDFLAGS = #------------------------------------------------------------------------------ # Library #------------------------------------------------------------------------------ USE_PSPSDK_LIBC = 1 LIBS = -lm -lc -lpspaudio -lpspgu -lpsppower -lpsprtc #------------------------------------------------------------------------------ # Object Directory #------------------------------------------------------------------------------ OBJDIRS = \ $(OBJ) \ $(OBJ)\cpu \ $(OBJ)\cpu\m68000 \ $(OBJ)\cpu\z80 \ $(OBJ)\common \ $(OBJ)\sound \ $(OBJ)\zip \ $(OBJ)\zlib \ $(OBJ)\psp \ $(OBJ)\psp\font \ $(OBJ)\psp\icon ifdef BUILD_CPS1PSP OBJDIRS += $(OBJ)\cps1 endif ifdef BUILD_CPS2PSP OBJDIRS += $(OBJ)\cps2 endif ifdef BUILD_MVSPSP OBJDIRS += $(OBJ)\mvs endif #------------------------------------------------------------------------------ # Object Files (common) #------------------------------------------------------------------------------ MAINOBJS = \ $(OBJ)/emumain.o \ $(OBJ)/zip/zfile.o \ $(OBJ)/zip/unzip.o \ $(OBJ)/cpu/m68000/m68000.o \ $(OBJ)/cpu/m68000/c68k.o \ $(OBJ)/cpu/z80/z80.o \ $(OBJ)/cpu/z80/cz80.o \ $(OBJ)/sound/sndintrf.o \ $(OBJ)/common/cache.o \ $(OBJ)/common/loadrom.o ifndef BUILD_MVSPSP MAINOBJS += $(OBJ)/common/coin.o endif ifdef SAVE_STATE MAINOBJS += $(OBJ)/common/state.o endif ifdef SOUND_TEST MAINOBJS += $(OBJ)/common/sndtest.o endif #------------------------------------------------------------------------------ # Object Files (CPS1PSP) #------------------------------------------------------------------------------ ifdef BUILD_CPS1PSP COREOBJS = \ $(OBJ)/cps1/cps1.o \ $(OBJ)/cps1/driver.o \ $(OBJ)/cps1/memintrf.o \ $(OBJ)/cps1/inptport.o \ $(OBJ)/cps1/dipsw.o \ $(OBJ)/cps1/timer.o \ $(OBJ)/cps1/vidhrdw.o \ $(OBJ)/cps1/sprite.o \ $(OBJ)/cps1/eeprom.o \ $(OBJ)/cps1/kabuki.o \ $(OBJ)/sound/2151intf.o \ $(OBJ)/sound/ym2151.o \ $(OBJ)/sound/qsound.o ICONOBJS = \ $(OBJ)/psp/icon/cps_s.o \ $(OBJ)/psp/icon/cps_l.o endif #------------------------------------------------------------------------------ # Object Files (CPS2PSP) #------------------------------------------------------------------------------ ifdef BUILD_CPS2PSP COREOBJS = \ $(OBJ)\cps2\cps2.o \ $(OBJ)\cps2\driver.o \ $(OBJ)\cps2\memintrf.o \ $(OBJ)\cps2\inptport.o \ $(OBJ)\cps2\timer.o \ $(OBJ)\cps2\vidhrdw.o \ $(OBJ)\cps2\sprite.o \ $(OBJ)\cps2\eeprom.o \ $(OBJ)\sound\qsound.o ICONOBJS = \ $(OBJ)\psp\icon\cps_s.o \ $(OBJ)\psp\icon\cps_l.o endif #------------------------------------------------------------------------------ # Object Files (MVSPSP) #------------------------------------------------------------------------------ ifdef BUILD_MVSPSP COREOBJS = \ $(OBJ)/mvs/mvs.o \ $(OBJ)/mvs/driver.o \ $(OBJ)/mvs/memintrf.o \ $(OBJ)/mvs/inptport.o \ $(OBJ)/mvs/dipsw.o \ $(OBJ)/mvs/timer.o \ $(OBJ)/mvs/vidhrdw.o \ $(OBJ)/mvs/sprite.o \ $(OBJ)/mvs/pd4990a.o \ $(OBJ)/mvs/biosmenu.o \ $(OBJ)/sound/2610intf.o \ $(OBJ)/sound/ym2610.o ICONOBJS = \ $(OBJ)/psp/icon/mvs_s.o \ $(OBJ)/psp/icon/mvs_l.o endif #------------------------------------------------------------------------------ # Object Files (common) #------------------------------------------------------------------------------ FONTOBJS = \ $(OBJ)/psp/font/jpnfont.o \ $(OBJ)/psp/font/graphic.o \ $(OBJ)/psp/font/ascii_14p.o \ $(OBJ)/psp/font/font_s.o \ $(OBJ)/psp/font/bshadow.o EXTOBJS = \ $(OBJ)/psp/psp.o \ $(OBJ)/psp/blend.o \ $(OBJ)/psp/config.o \ $(OBJ)/psp/filer.o \ $(OBJ)/psp/help.o \ $(OBJ)/psp/input.o \ $(OBJ)/psp/menu.o \ $(OBJ)/psp/mesbox.o \ $(OBJ)/psp/misc.o \ $(OBJ)/psp/ticker.o \ $(OBJ)/psp/usrintrf.o \ $(OBJ)/psp/video.o \ $(OBJ)/psp/sound.o ifdef BUILD_CPS1PSP EXTOBJS += $(OBJ)/psp/png.o else EXTOBJS += $(OBJ)/psp/bmp.o endif EXTOBJS += $(FONTOBJS) $(ICONOBJS) $(ADHOCOBJS) ZLIB = $(OBJ)/zlib.a OBJS= $(MAINOBJS) $(COREOBJS) $(EXTOBJS) $(ZLIB) #------------------------------------------------------------------------------ # Rules to make libraries #------------------------------------------------------------------------------ PSPSDK=$(shell psp-config --pspsdk-path) include $(PSPSDK)/lib/build.mak $(OBJ)/zlib.a: \ $(OBJ)/zlib/adler32.o \ $(OBJ)/zlib/compress.o \ $(OBJ)/zlib/crc32.o \ $(OBJ)/zlib/deflate.o \ $(OBJ)/zlib/inflate.o \ $(OBJ)/zlib/inftrees.o \ $(OBJ)/zlib/inffast.o \ $(OBJ)/zlib/trees.o \ $(OBJ)/zlib/zutil.o #--------------------------------------------------------------------- # Rules to manage files (CZ80) #--------------------------------------------------------------------- Z80_SRC = \ src/cpu/z80/cz80.c \ src/cpu/z80/cz80_op.c \ src/cpu/z80/cz80_opCB.c \ src/cpu/z80/cz80_opED.c \ src/cpu/z80/cz80_opXY.c \ src/cpu/z80/cz80_opXYCB.c $(OBJ)/cpu/z80/cz80.o: $(Z80_SRC) @echo Compiling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ #------------------------------------------------------------------------------ # Rules to manage files #------------------------------------------------------------------------------ $(OBJ)/%.o: src/%.c @echo Compiling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ $(OBJ)/%.o: src/%.S @echo Assembling $<... @$(CC) $(CDEFS) $(CFLAGS) -c $< -o$@ $(OBJ)/%.o: src/%.s @echo Assembling $<... @$(AS) $(ASDEFS) $(ASFLAGS) -c $< -o$@ $(OBJ)/%.a: @echo Archiving $@... @$(AR) -r $@ $^ $(sort $(OBJDIRS)): @mkdir -p $(subst //,\,$@) pspclean: @echo Remove all object files and directories. @rm -rd $(OBJ) @rm -rf $(PSP_EBOOT_SFO) @rm -rf $(TARGET).elf delelf: @rm -rf $(PSP_EBOOT_SFO) @rm -rf $(TARGET).elf maketree: @echo Making object tree... mkdir: maketree $(sort $(OBJDIRS)) Making object tree.... make: *** No rule to make target 'obj_cps2\emumain.o', needed by 'CPS2PSP.elf'. so when i switched back, i got past the making object tree and went into the error listed in the previous post. |
||
|
|
|
|
|
#5 |
![]() |
|
|
|
|
|
|
#6 |
![]() |
Hey guys spare yourself the problem here SamuraiX from Dcemu Compile Three Emu (Cps1/2,MVS) Also there is Kernel and Usermode.
http://www.dcemu.co.uk/vbulletin/sho...t=46249&page=3 Urza the Tyrant Beat me at it
__________________
Free Prizes at [url=http://www.prizerebel.com/index.php?r=189687]Prizerebel[/url] Join us! I already got [b]11[/b] Gifts. Ask me for details or proof. |
|
|
|
|
|
#7 | |
|
Quote:
Thanks for the link as I will try to contact SamX now. Perhaps there will be some news soon. |
||
|
|
|
|
|
#8 |
![]() |
ok before you trie to compile you need to do a make clean, then type make.
also u must have your environmental variables set... .ie... PSPDEV = c:\PSPDEV\ PSPSDK = C:\pspdev\psp\sdk u can check these out by going to shell and typing set and search for both of these and post what they have in them currently.... ps.... i have been able to compile every version of NJ's emus.... yeah....
__________________
[FONT=Fixedsys][spoiler="PSP DAX_Hacks"]PSP1001 3.71-M33-4 ------------------------------------------ - 17 Diff Castlevania Games on 4Gb Stick Cps2psp2.30 - MVSpsp[/FONT][FONT=Fixedsys]2.30[/FONT][FONT=Fixedsys] + Bootlegs - gpSP09 - PsUltraRip - Manhunt2 Uncensored [/spoiler] [/FONT][FONT=Fixedsys]Consoles Pwnd: PSP, Xbox360 Pwnd: PSP, PSOne, PS2, Xbox360 [/FONT] |
|
|
|
|
|
#9 | |
|
Quote:
I also tried a make clean in NJ emu: Remove all object files and directories. make: rm: Command not found make: *** [pspclean] Error 127 my start.bat file contains: Code:
set path=%path%;G:\PSPDEV\bin;G:\MinGW\bin set PSPSDK=G:\PSPDEV\psp\sdk cmd |
||
|
|
|
|
|
#10 | |
![]() ![]() Give It All
|
Quote:
Oh, you are using MingW.. But still, I think your start.bat should be: Code:
set PSPDEV=C:/pspdev set PATH=%PATH%;%PSPDEV%/bin cmd
__________________
Core 2 Duo E8400 @ 3.6ghz (Multiplier: 9x; Bus: 400mhz; FSB: 1600mhz;) GeForce 9800 GTX+ 512 MB (Core: 850mhz; Memory: 1200mhz; Shader: 2100mhz;) ASUS P5K Pro Motherboard Patriot Extreme (2x2GB) / OCZ HPC (2x1GB) 6GB Total Dual Channel RAM (DDR2 1066mhz) OCZ GameXstream 700w 2x Seagate 250GB HD (RAID0) |
|
|
|
|
|
|
#12 |
![]() ![]() Developer
Join Date: Oct 2005
Real First Name: Justin
Location: Dubuque
Just Played: ..
Posts: 414
Trader Feedback: 0
|
the makefile is made to work with unix / linux / cygwin utils, not windows commands so you have to change them to their windows equivalents before it will work.
|
|
|
|
![]() |
| Tags |
| compiling , emus |
| Thread Tools | |
|
|