]> git.sur5r.net Git - cc65/blobdiff - libsrc/dbg/Makefile
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / dbg / Makefile
index f3cf4ebb3ab73c9d580b0c9f2a4b5c792387b489..13ca1a17bd598d3864726b5b70d78fd338d86bdf 100644 (file)
@@ -4,6 +4,18 @@
 
 .SUFFIXES: .o .s .c
 
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS    = none
+
+AS     = ../../src/ca65/ca65
+CC     = ../../src/cc65/cc65
+LD     = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) --forget-inc-paths -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
 #--------------------------------------------------------------------------
 # Rules
 
@@ -29,10 +41,7 @@ S_OBJS = asmtab.o dbgdasm.o dbgdump.o dbgisram.o dbgsupp.o
 all:   $(C_OBJS) $(S_OBJS)
 
 clean:
-       @rm -f *~
-       @rm -f $(C_OBJS:.o=.s)
-       @rm -f $(C_OBJS)
-       @rm -f $(S_OBJS)
+       @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
 
 zap:   clean