View Full Version : cemu 1.3.43 make file?
dubro
07-12-2008, 06:08 PM
I tried to compile and it says the make file is missing. I'm using DJGPP 2.03
Whats the trick? thanks
smilingjack
07-12-2008, 06:24 PM
You put the source file in the (DGJPP) cemu_src
(add the module0 & module1)
and follow the direction to make the file
pecker88
07-12-2008, 07:01 PM
I tried to compile and it says the make file is missing. I'm using DJGPP 2.03
Whats the trick? thanks
1. Create a new .txt document in your cemu_src folder
2. copy/paste the bellow code into the .txt file
3. go to file/save as
4. type "makefile" as the filename (include the quotes in the filename)
5. re-compile
good luck
# This is the ONLY Makefile for cemu10b
# it works with ALL environments.
#
# The default environment is Linux,
# Detection of DJGPP is now automatic.
# To specify cygwin environment, use cygwin=1.
#
# Two more options; small=1, static=1
#
# Example; "make cygwin=1", "make cygwin=1 clean",
# "make small=1 static=1" "make cygwin=1 small=1 static=1 clean"
#
# "make clean" expects strip and upx to be in the path.
#
# DO NOT USE ANY .bat FILES!!!
# make
# make compress
# make clean
cemuObjects=6805_cpu.o emu6805.o cemu.o rom10.o comm.o debug.o arm_CALL.o arm_bn.o armMap.o armsub1.o armsub2.o cmd07.o data.o misc.o morph2.o keycmd.o
ifdef DJGPP
CC=gpp
cemu=cemu.exe
else
CC=g++
cemu=cemu
ifdef mingw
cemu=cemu.exe
endif
endif
ifdef static
ifdef small
CCOPT=-static -Os -DFAST_CEMU
else
CCOPT=-static -funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEMU
endif
else
ifdef small
CCOPT=-Os -DFAST_CEMU
else
CCOPT=-funroll-loops -frerun-loop-opt -fomit-frame-pointer -O3 -Wall -g -DFAST_CEMU
endif
endif
cemu: cemu.o 6805_cpu.o emu6805.o rom10.o comm.o debug.o arm_CALL.o arm_bn.o armMap.o armsub1.o armsub2.o cmd07.o data.o misc.o morph2.o keycmd.o
ifdef DJGPP
$(CC) $(CCOPT) $(cemuObjects) -lcrypto -lgmpxx -lgmp -lcom -o $(cemu)
else
$(CC) $(CCOPT) $(cemuObjects) -lcrypto -lgmpxx -lgmp -o $(cemu)
ifdef cygwin
cp cemu.exe cemu
endif
endif
compress:
strip -s $(cemu)
upx -9 $(cemu)
.cc.o:
ifdef cygwin
$(CC) -DCYGWIN $(CCOPT) -c $<
else
#ifdef DJGPP
# $(CC) -DDJGPP $(CCOPT) -c $<
#else
$(CC) $(CCOPT) -c $<
#endif
endif
.c.o:
$(CC) $(CCOPT) -c $<
clean:
ifdef DJGPP
erase *.o
erase $(cemu)
else
rm -f *.o $(cemu)
ifdef cygwin
rm -f cemu.exe
endif
endif
dubro
07-12-2008, 07:58 PM
Tried what you said and I'm getting this error:
C:\DJGPP_2\cemu_src>make clean
makefile:1: *** missing separator. Stop.
getting the same error for the "make" command
what am I doing wrong?
smilingjack
07-12-2008, 08:03 PM
I just post the source code it runs
http://bellexpress.vu/forum/local_links.php?catid=64
make clean > enter (no file found)
make > enter (this takes about 3 min)
make compress > enter (copy you cemu.exe to you files)
dubro
07-12-2008, 10:25 PM
Thanks. I'll give that a try.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.