]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/Makefile
Add definitions for tools so the makefile is useful by itself.
[cc65] / libsrc / nes / Makefile
index e0abce8060866cab3d4b64e2760abd8c7713d3c4..ee18b60a3ccf6e36945bd97a109ab553e46ae23b 100644 (file)
@@ -4,6 +4,18 @@
 
 .SUFFIXES: .o .s .c
 
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS    = nes
+
+AS     = ../../src/ca65/ca65
+CC     = ../../src/cc65/cc65
+LD     = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
 #--------------------------------------------------------------------------
 # Rules