projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lots.
[fw/sdcc]
/
support
/
tests
/
dhrystone
/
Makefile
diff --git
a/support/tests/dhrystone/Makefile
b/support/tests/dhrystone/Makefile
index b0b939045cde64a4f1c555063e237b5300d3ab36..824fac0f2a9705db0d17c860f8a00a65b59cf96e 100644
(file)
--- a/
support/tests/dhrystone/Makefile
+++ b/
support/tests/dhrystone/Makefile
@@
-1,28
+1,27
@@
# Simple Makefile for dhrystone and sdcc
# Simple Makefile for dhrystone and sdcc
-CC = /home/michaelh/projects/sdcc/bin/sdcc
+PROC = gbz80
+PORT = gb
+
+CC = /home/michaelh/projects/gbdk-support/lcc/lcc
# -DNOENUM is here to make the results more predictable
# -DNOENUM is here to make the results more predictable
-CFLAGS = -mgbz80 -v --dumpall
-CFLAGS += -DREG= -DNOSTRUCTASSIGN -DNOENUM -DBROKEN_SDCC=0 -DHZ=100
-LIBDIR = /home/michaelh/projects/sdcc/device/lib/gbz80/
-LD = link-gb
-AS = as-gb
+CFLAGS =
+CFLAGS += -DREG= -DNOSTRUCTASSIGN -DNOENUM
+LIBDIR = /home/michaelh/projects/gbdk-lib/build/
+LD = link-$(PROC)
+LDFLAGS = -v
+AS = as-$(PROC)
OBJ = dhry.o
all: dhry
dhry: $(OBJ)
OBJ = dhry.o
all: dhry
dhry: $(OBJ)
- $(LD) -n -- -z -m -k$(LIBDIR) -lz80.lib \
- -b_CODE=0x200 dhry.gb $(LIBDIR)crt0.o $(OBJ)
-# cat dhry.ihx | ../../makebin/makebin > dhry.rom
+ $(CC) -o dhry.gb dhry.o
native:
gcc -g -O2 -DREG= -DNOSTRUCTASSIGN -DNOENUM -o dhry dhry.c
native:
gcc -g -O2 -DREG= -DNOSTRUCTASSIGN -DNOENUM -o dhry dhry.c
-.c.o:
- $(CC) $(CFLAGS) $<
-
dhry.c:
clean:
dhry.c:
clean: