]> git.sur5r.net Git - cc65/commitdiff
Added a makefile to build the executable.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 24 Jan 2012 20:37:54 +0000 (20:37 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 24 Jan 2012 20:37:54 +0000 (20:37 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5423 b7a2c559-68d2-44c3-8de9-860c34a00d81

targetutil/geos-apple/Makefile [new file with mode: 0644]

diff --git a/targetutil/geos-apple/Makefile b/targetutil/geos-apple/Makefile
new file mode 100644 (file)
index 0000000..b2dcc96
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# Makefile
+#
+
+# --------------------------------------------------------------------------
+# Programs
+CC      = ../../src/cc65/cc65
+AS      = ../../src/ca65/ca65
+LD      = ../../src/ld65/ld65
+
+# Directories
+CFGDIR  = ../../src/ld65/cfg
+INCDIR  = ../../include
+LIBDIR  = ../../libsrc
+
+# --------------------------------------------------------------------------
+# List of executables.
+
+EXELIST        =       convert.system
+
+
+
+# --------------------------------------------------------------------------
+# Targets
+
+
+.PHONY:        all
+all:   $(EXELIST)
+
+
+convert.system:        convert.c Makefile
+       $(CC) --forget-inc-paths -I $(INCDIR) -t apple2enh -O convert.c
+       $(AS) --forget-inc-paths convert.s
+       $(LD) -o $@ -C $(CFGDIR)/apple2enh-system.cfg convert.o $(LIBDIR)/apple2enh.lib
+
+
+# --------------------------------------------------------------------------
+# Cleanup rules
+
+.PHONY:        clean
+clean:
+       $(RM) *~ *.map *.o *.s *.lbl
+
+.PHONY:        zap
+zap:   clean
+       $(RM) $(EXELIST)
+
+
+