]> git.sur5r.net Git - c128-kasse/blobdiff - Makefile
remove malloc, fix user interface
[c128-kasse] / Makefile
index 18ad9b82494b7cbdc4706e5ce07ab2c6b4b64e01..3bc90446f6b7cd301741a3349c03887f164215db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Note: this are my paths to cc65 as there is no gentoo ebuild, sorry for that.
 # Please use the path below if you've installed cc65 system-wide
-CC=~/customSoftware/cc65-2.11.0/src/cc65/cc65 -I ~/customSoftware/cc65-2.11.0/include
+CC=~/customSoftware/cc65-2.11.0/src/cc65/cc65 -I ~/customSoftware/cc65-2.11.0/include -O
 CA=~/customSoftware/cc65-2.11.0/src/ca65/ca65
 CL=~/customSoftware/cc65-2.11.0/src/cl65/cl65
 # CC=cc65
@@ -8,12 +8,12 @@ CL=~/customSoftware/cc65-2.11.0/src/cl65/cl65
 # CL=cl65
 
 %.o: %.c
-       cp /tmp/cc65/lib/c128* .
        ${CC} -t c128 $<
        ${CA} -t c128 $$(basename $< .c).s
 
 all: config.o kasse.o general.o credit_manager.o time.o
        # See above, please just kill the PATH-definition
+       cp /tmp/cc65/lib/c128* .
        PATH=${PATH}:~/customSoftware/cc65-2.11.0/src/ld65:/tmp/cc65/lib ${CL} -t c128 *.o -o kasse
 
 package: all