[cc65] makefile problems

From: Groepaz <groepaz1gmx.net>
Date: 2004-10-18 06:46:37
while trying to compile cc65 under gentoo (and writing a proper ebuild while at it :))
i noticed two things:

1) the build-process of the documentation relies on a rather obsolete version of sgmltools
(i would assume v2, or some linuxdoc variant). the problem is that the currently activly
developed version (v3, http://sgmltools-lite.sourceforge.net) doesnt understand some of
the commandline options used in the cc65 makefiles.

whatever, since i'd like to provide a proper ebuild, it would be nice to get that sorted
out :) i could possibly just install the prebuild docs, but that would require a toplevel
makefile that doesnt install everything at once (i can supply that, already modded the
current one)....however, beeing able to build the docs myself (using sgmltools-lite) would
be even nicer :)

2) the makefile for the sample-programs relies on the sourcetree... ie

CRT0	= ../libsrc/$(SYS).o
CLIB	= ../libsrc/$(SYS).lib
CC	= ../src/cc65/cc65
CL	= ../src/cl65/cl65
AS	= ../src/ca65/ca65
LD	= ../src/ld65/ld65

should be

PREFIX  = /usr
BINDIR  = $(PREFIX)/lib
LIBDIR  = $(PREFIX)/lib

CRT0	= $(LIBDIR)/$(SYS).o
CLIB	= $(LIBDIR)/$(SYS).lib
CC	= $(BINDIR)/cc65
CL	= $(BINDIR)/cl65
AS	= $(BINDIR)/ca65
LD	= $(BINDIR)/ld65

... well you get the idea :)

it would also be nice if the toplevel makefile had seperate targets for building and installing
the executables/libraries/documentation and sample programs. (i can supply that too).

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 18 06:48:09 2004

This archive was generated by hypermail 2.1.8 : 2004-10-18 06:48:19 CEST