public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328a5e9
)
utils: Allow platform to be passed for special builds
author
Alan Cox
<alan@linux.intel.com>
Sun, 8 Mar 2015 22:05:23 +0000
(22:05 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 8 Mar 2015 22:05:23 +0000
(22:05 +0000)
Applications/util/Makefile
patch
|
blob
|
history
diff --git
a/Applications/util/Makefile
b/Applications/util/Makefile
index
0bcabd4
..
740a5c2
100644
(file)
--- a/
Applications/util/Makefile
+++ b/
Applications/util/Makefile
@@
-3,6
+3,8
@@
ASM = sdasz80
AR = sdar
LINKER = sdcc
FCC = ../../Library/tools/fcc
+#PLATFORM =
+PLATFORM = -tzx128
PROGLOAD=`(cat ../../Kernel/platform/config.h; echo PROGLOAD) | cpp -E | tail -n1`
@@
-111,10
+113,10
@@
$(OBJSBAD): $(SRCSBAD)
$(CC) $(CC_CRAP) $(@:.rel=.c)
.c.rel:
- $(FCC) -c $<
+ $(FCC)
$(PLATFORM)
-c $<
%: %.rel
- $(FCC) $< -o $@
+ $(FCC) $
(PLATFORM) $
< -o $@
clean:
rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin