]> git.sur5r.net Git - cc65/log
cc65
11 years agofix cleanup of stack 22/head
Christian Groessler [Wed, 24 Jul 2013 08:24:47 +0000 (10:24 +0200)]
fix cleanup of stack

11 years agoDon't import tmp1, slipped in by mistake in last commit
Christian Groessler [Tue, 23 Jul 2013 22:44:44 +0000 (00:44 +0200)]
Don't import tmp1, slipped in by mistake in last commit

11 years agoimplement _sysrename for Atari
Christian Groessler [Tue, 23 Jul 2013 22:40:09 +0000 (00:40 +0200)]
implement _sysrename for Atari

11 years agoMerge pull request #21 from groessler/something_to_pull
Oliver Schmidt [Tue, 16 Jul 2013 13:52:43 +0000 (06:52 -0700)]
Merge pull request #21 from groessler/something_to_pull

fix '_sysrmdir' for SpartaDOS

11 years agofix '_sysrmdir' for SpartaDOS 21/head
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS

11 years agoMerge pull request #20 from greg-king5/linker
Oliver Schmidt [Wed, 10 Jul 2013 09:37:45 +0000 (02:37 -0700)]
Merge pull request #20 from greg-king5/linker

Fixed ld65's precalculation of memory-area sizes and file-offsets.

11 years agoMerge pull request #19 from groessler/something_to_pull
Oliver Schmidt [Wed, 10 Jul 2013 09:24:12 +0000 (02:24 -0700)]
Merge pull request #19 from groessler/something_to_pull

close IOCB if open failed -- otherwise it is still marked as "in use"

11 years agoFixed ld65's precalculation of memory-area sizes. 20/head
Greg King [Wed, 10 Jul 2013 06:37:09 +0000 (02:37 -0400)]
Fixed ld65's precalculation of memory-area sizes.

Before this fix, BSS-type and ZP-type segments never were counted.  Now, they are counted if their memory areas are filled.  (It must be done because their places in the output file are filled.)

The fix allows us to build programs for the CBM510 and CBM610 platforms.  We won't see an "Internal error" diagnostic message about a bad file-offset.

11 years agoclose IOCB if open failed -- otherwise is is still marked as "in use" 19/head
Christian Groessler [Tue, 9 Jul 2013 21:39:42 +0000 (23:39 +0200)]
close IOCB if open failed -- otherwise is is still marked as "in use"

11 years agoMerge pull request #18 from xofeht/master
Oliver Schmidt [Thu, 4 Jul 2013 19:24:19 +0000 (12:24 -0700)]
Merge pull request #18 from xofeht/master

dbginfo.c bug fix

11 years agoFixed a logic bug in dbginfo.c module that prevented some valid debug info files... 18/head
thefox [Thu, 4 Jul 2013 18:10:58 +0000 (21:10 +0300)]
Fixed a logic bug in dbginfo.c module that prevented some valid debug info files from being parsed.

11 years agoMerge pull request #17 from groessler/something_to_pull
Oliver Schmidt [Wed, 3 Jul 2013 06:58:08 +0000 (23:58 -0700)]
Merge pull request #17 from groessler/something_to_pull

Atari targets: Don't save and restore the zero page locations used.

11 years agoDon't save and restore the zero page locations used. 17/head
Christian Groessler [Tue, 2 Jul 2013 17:55:00 +0000 (19:55 +0200)]
Don't save and restore the zero page locations used.
Saves 19 bytes code (in the exe file) and reduces memory footprint
of the program by 45 bytes (code & bss).

11 years agoMade EXTZP segment option for modules.
Oliver Schmidt [Thu, 27 Jun 2013 22:30:24 +0000 (00:30 +0200)]
Made EXTZP segment option for modules.

This allows to remove the "add empty EXTZP segement to avoid warnings"
approach.

11 years agoHave __PLUS4__ imply __C16__.
Oliver Schmidt [Thu, 27 Jun 2013 21:09:54 +0000 (23:09 +0200)]
Have __PLUS4__ imply __C16__.

11 years agoNo delimiter comment between includes and first segment.
Oliver Schmidt [Thu, 27 Jun 2013 11:04:52 +0000 (13:04 +0200)]
No delimiter comment between includes and first segment.

11 years agoMerge pull request #16 from groessler/something_to_pull
Oliver Schmidt [Tue, 25 Jun 2013 06:45:47 +0000 (23:45 -0700)]
Merge pull request #16 from groessler/something_to_pull

move findfreeiocb function into its own object file

11 years agomove findfreeiocb function into its own object file 16/head
Christian Groessler [Mon, 24 Jun 2013 23:12:11 +0000 (01:12 +0200)]
move findfreeiocb function into its own object file

11 years agoFixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 10:36:37 +0000 (12:36 +0200)]
Fixed comment.

11 years agoFixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 10:35:35 +0000 (13:35 +0300)]
Fixed comment.

11 years agoMerge pull request #15 from groessler/something_to_pull
Oliver Schmidt [Fri, 21 Jun 2013 09:39:20 +0000 (02:39 -0700)]
Merge pull request #15 from groessler/something_to_pull

Fix writing one byte beyond screen buffer.

11 years agoFix writing one byte beyond screen buffer. 15/head
Christian Groessler [Thu, 20 Jun 2013 23:53:13 +0000 (01:53 +0200)]
Fix writing one byte beyond screen buffer.

11 years agoSimply define CH_DEL exactly then when there none yet.
Oliver Schmidt [Tue, 18 Jun 2013 17:06:46 +0000 (19:06 +0200)]
Simply define CH_DEL exactly then when there none yet.

11 years agoAvoid macro redefinition of CH_DEL for apple2enh.
Oliver Schmidt [Mon, 17 Jun 2013 19:41:25 +0000 (21:41 +0200)]
Avoid macro redefinition of CH_DEL for apple2enh.

I'm wondering why MS VC++ didn't complain about this...

11 years agoHave __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__.
Oliver Schmidt [Mon, 17 Jun 2013 19:34:08 +0000 (21:34 +0200)]
Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__.

11 years agoAvoid GCC "unconst" warning.
Oliver Schmidt [Thu, 13 Jun 2013 13:26:17 +0000 (15:26 +0200)]
Avoid GCC "unconst" warning.

11 years agoMerge pull request #14 from groessler/something_to_pull
Oliver Schmidt [Mon, 10 Jun 2013 11:38:10 +0000 (04:38 -0700)]
Merge pull request #14 from groessler/something_to_pull

Use symbolic names for all CIO commands.

11 years agoremove TABs 14/head
Christian Groessler [Fri, 7 Jun 2013 22:35:07 +0000 (00:35 +0200)]
remove TABs

11 years agoUse symbolic names for all CIO commands.
Christian Groessler [Fri, 7 Jun 2013 22:35:07 +0000 (00:35 +0200)]
Use symbolic names for all CIO commands.

11 years agoAdded support for 'prefix'.
Oliver Schmidt [Fri, 7 Jun 2013 21:13:46 +0000 (23:13 +0200)]
Added support for 'prefix'.

If the variable 'prefix' is defined then the builtin search paths are set to
$(prefix)/lib/cc65/... allowing to build binaries intended for installation.

Note that the library build still works with these binaries as it generally
overrides the builtin search paths by setting the CC65_HOME env var.

11 years agoUse unique variables for cc65 toolchain.
Oliver Schmidt [Tue, 4 Jun 2013 21:39:00 +0000 (23:39 +0200)]
Use unique variables for cc65 toolchain.

Originally I used the usual variables (like $(CC) and $(CFLAGS) ) but after
all this doesn't make sense as any predefined values and/or user defined
settings can only be wrong.

11 years agoAdded library reference tgi_libref to TGI interface.
Oliver Schmidt [Sat, 1 Jun 2013 10:42:00 +0000 (12:42 +0200)]
Added library reference tgi_libref to TGI interface.

11 years agoAdded library reference ser_libref to SER interface.
Oliver Schmidt [Sat, 1 Jun 2013 09:03:14 +0000 (11:03 +0200)]
Added library reference ser_libref to SER interface.

11 years agoAdded library reference mouse_libref to MOU interface.
Oliver Schmidt [Fri, 31 May 2013 22:53:17 +0000 (00:53 +0200)]
Added library reference mouse_libref to MOU interface.

11 years agoAdded library reference joy_libref to JOY interface.
Oliver Schmidt [Fri, 31 May 2013 22:36:08 +0000 (00:36 +0200)]
Added library reference joy_libref to JOY interface.

11 years agoAdded library reference em_libref to EMD interface.
Oliver Schmidt [Fri, 31 May 2013 22:11:31 +0000 (00:11 +0200)]
Added library reference em_libref to EMD interface.

Occasionally dynamically drivers suffer from not being to refer to
content in the C library. Therefore I added a mechanism to allow
a C library for a certian target to define a symbol that will be
handed over to dynamic drivers for that target. Then the drivers
can use their refernce to that symbol to access content in the C
library.

11 years agoExplicitly set search paths for libraries build.
Oliver Schmidt [Fri, 31 May 2013 19:30:14 +0000 (21:30 +0200)]
Explicitly set search paths for libraries build.

The libraries build is prepared to work with binaries not part of the current
working tree. But in this case the default search path surely points to some
other working tree. Even the binaries in this working tree might have been
compiled with non-standard builtin search paths.

Anyway when building the libraries we want always to use the headers from
the current working tree. Therefore we want to set them explicitly. Instead
of setting all in all five paths on the command lines of ca65, cc65 and ld65 I
opted to just set the single environment variable.

11 years agoUse cbm_load() to load overlays on CBMs.
Oliver Schmidt [Tue, 28 May 2013 23:12:24 +0000 (01:12 +0200)]
Use cbm_load() to load overlays on CBMs.

11 years agoFixed discrepancy between definition and declaration.
Oliver Schmidt [Tue, 28 May 2013 20:16:07 +0000 (22:16 +0200)]
Fixed discrepancy between definition and declaration.

11 years agoBrought back mouse driver source code.
Oliver Schmidt [Tue, 28 May 2013 20:07:04 +0000 (22:07 +0200)]
Brought back mouse driver source code.

The mouse driver source code in question was removed two years
ago with commit 6cbbe66c87fc19c322a0dd72a5c8ef094ea90c90.
It seems however desirable to have it around visible in the source
code tree for reference purposes.

11 years agoIntroduced target 'atarixl'.
Oliver Schmidt [Tue, 28 May 2013 19:56:37 +0000 (21:56 +0200)]
Introduced target 'atarixl'.

The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!

11 years agoRenamed Atari drivers.
Oliver Schmidt [Tue, 28 May 2013 19:20:37 +0000 (21:20 +0200)]
Renamed Atari drivers.

As a preparation for the introduction of the 'atarixl' target it is
necessary that all drivers have a base name...
- no longer than 7 characters
- with a common prefix

11 years agoAdjusted usage.
Oliver Schmidt [Fri, 24 May 2013 16:36:59 +0000 (18:36 +0200)]
Adjusted usage.

11 years agoAdded support for cc65 program arguments.
Oliver Schmidt [Fri, 24 May 2013 16:36:30 +0000 (18:36 +0200)]
Added support for cc65 program arguments.

11 years agoNo delimiter comment between includes and first segment.
Oliver Schmidt [Fri, 24 May 2013 16:29:31 +0000 (18:29 +0200)]
No delimiter comment between includes and first segment.

11 years agoThe paravirtualization hooks are called for JMP too so there's no need for JSR.
Oliver Schmidt [Fri, 24 May 2013 16:25:16 +0000 (18:25 +0200)]
The paravirtualization hooks are called for JMP too so there's no need for JSR.

11 years agoFixed Carry handling in SBC opcode.
Oliver Schmidt [Tue, 21 May 2013 21:47:19 +0000 (23:47 +0200)]
Fixed Carry handling in SBC opcode.

11 years agoMade lib build less verbose if run as Travis CI build.
Oliver Schmidt [Tue, 21 May 2013 19:46:03 +0000 (21:46 +0200)]
Made lib build less verbose if run as Travis CI build.

Travis CI limits the real time build output to 10000 lines. We need to be less verbose in the lib build to stay below that threshold.

11 years agoAdjusted sim65 MS VC build settings to the ones of the other binaries.
Oliver Schmidt [Tue, 21 May 2013 18:54:33 +0000 (20:54 +0200)]
Adjusted sim65 MS VC build settings to the ones of the other binaries.

11 years agoAdded 'sim6502' and 'sim65C02' targets.
Oliver Schmidt [Mon, 20 May 2013 18:35:42 +0000 (20:35 +0200)]
Added 'sim6502' and 'sim65C02' targets.

The targets allow to run cc65 programs in the sim65 exection
einvironment. As there are no "real" i/o facilities there's no
need for header files. Paravirtualized entry points are mapped
to $FFF0 ff. There's a large cc65 progam area from $0200-$FFEF.

The binary format includes a one-byte header indicating the required
execution environment: The value 0 means 6502 and the value 1
means 65C02. The load adress for the binary is fixed to $0200.

Note: Running sim65C02 programs currently doesn't work bcause
sim65 doesn't actually implement 65C02 opcodes.

11 years agoTurned sim65 into a lightweight cc65 execution environment.
Oliver Schmidt [Mon, 20 May 2013 18:20:14 +0000 (20:20 +0200)]
Turned sim65 into a lightweight cc65 execution environment.

The sim65 source code has been a construction site for over a decade.
I was looking for a simple cc65 program execution environment for
regression tests. So I decided to re-purpose sim65 for that task by
removing about everything but the 6502 emulation.

There's no memory mapped i/o emulation whatsoever. Rather exit(),
open(), close(), read() and write() calls are supported by mapping
them through a thin paravirtualization layer to the corresponding
host os functions.

Note: The sim65 6502 emulation provides means to switch between
6502 and 65C02 emulation but currently there are no actual 65C02
opcodes implemented.

11 years agoHave 'avail' not be dependent on 'all'.
Oliver Schmidt [Fri, 17 May 2013 14:21:05 +0000 (16:21 +0200)]
Have 'avail' not be dependent on 'all'.

There are two reasons for removing this dependency:
- If someone does 'make avail' on the top level Makefile he ends up with
  binaries but without libraries - not nice. Better do just "nothing" and
  have hin understand that he needs to do 'make [all]' on the top level
  Makfile first.
- If 'make avail' is done via 'sudo' it isn't desirable to do a large amount
  of work as root.
BTW: I wasn't sure if this dependency is a good thing in the first place
but I saw it in many examples ('install' depending on 'all') so I did it too.

11 years agoRenamed [un]install goals to [un]avail.
Oliver Schmidt [Wed, 15 May 2013 09:59:51 +0000 (11:59 +0200)]
Renamed [un]install goals to [un]avail.

The [un]install make goals have a rather fixed meaning for *ix users. The simple
symlinks provided here don't match the expectations users have from [un]install.
Therefore it is appropriate to rename them to "something" not tied to specific
expectations.

11 years agoBumped version to 2.14.0. V2.14
Oliver Schmidt [Sun, 12 May 2013 16:39:48 +0000 (18:39 +0200)]
Bumped version to 2.14.0.

The cmdline parameter handling as become quite incompatible to 2.13.3 so it seems
appropriate to increase the minor version.

11 years agoMade dependency handling for C sources actually work.
Oliver Schmidt [Sun, 12 May 2013 16:19:46 +0000 (18:19 +0200)]
Made dependency handling for C sources actually work.

11 years agoMerge pull request #10 from greg-king5/target-util
Oliver Schmidt [Fri, 10 May 2013 10:15:09 +0000 (03:15 -0700)]
Merge pull request #10 from greg-king5/target-util

Made geos-apple's file-converter depend on apple2enh's library.

11 years agoMade geos-apple's file-converter depend on apple2enh's library. 10/head
Greg King [Thu, 9 May 2013 18:46:04 +0000 (14:46 -0400)]
Made geos-apple's file-converter depend on apple2enh's library.

The geos-apple target will build that library if it doesn't exist.

11 years agoForce warning-free build (and added missing clean target).
Oliver Schmidt [Thu, 9 May 2013 12:25:25 +0000 (14:25 +0200)]
Force warning-free build (and added missing clean target).

11 years agoAllow for warning-free build of libraries.
Oliver Schmidt [Thu, 9 May 2013 12:24:13 +0000 (14:24 +0200)]
Allow for warning-free build of libraries.

11 years agoRemoved (pretty inconsistently used) tab chars from source code base.
Oliver Schmidt [Thu, 9 May 2013 11:56:54 +0000 (13:56 +0200)]
Removed (pretty inconsistently used) tab chars from source code base.

11 years agoAdjusted C declarations to the changed static driver names.
Oliver Schmidt [Thu, 9 May 2013 08:20:03 +0000 (10:20 +0200)]
Adjusted C declarations to the changed static driver names.

11 years agoInclude targetutil intermediates in dependency handling.
Oliver Schmidt [Thu, 9 May 2013 07:27:36 +0000 (09:27 +0200)]
Include targetutil intermediates in dependency handling.

11 years agoRemoved unintentionally committed intermediate file.
Oliver Schmidt [Thu, 9 May 2013 07:18:19 +0000 (09:18 +0200)]
Removed unintentionally committed intermediate file.

11 years agoSearch for "local" binaries only once.
Oliver Schmidt [Wed, 8 May 2013 23:37:09 +0000 (01:37 +0200)]
Search for "local" binaries only once.

11 years agoHack: Changed TARGET order to have apple2enh.lib available for convert.system.
Oliver Schmidt [Wed, 8 May 2013 23:32:48 +0000 (01:32 +0200)]
Hack: Changed TARGET order to have apple2enh.lib available for convert.system.

There's a quite special case of a targetutil for the TARGET geos-apple having to be
built as TARGET apple2enh binary. We can't just add a dependency to ../lib/apple2enhlib
because the TARGETs are built in individual make instances (because of vpath).

Doing that the "right way" would be _very_ complicated and would turn the Makefiles way
less readable. Therefore I decided to solve that by just reordering the TARGETs. Surely
this won't work if i.e. 'make geos-apple' is entered on a clean system. But still I consider
it appropriate.

I ordered the TARGETs btw so that they are more in an alphabetical order...

11 years agoAdded support for building targetutils.
Oliver Schmidt [Wed, 8 May 2013 23:12:26 +0000 (01:12 +0200)]
Added support for building targetutils.

11 years agoAdded support for building 'extra' object files.
Oliver Schmidt [Wed, 8 May 2013 21:27:58 +0000 (23:27 +0200)]
Added support for building 'extra' object files.

11 years agoNo packages here.
Oliver Schmidt [Wed, 8 May 2013 20:43:58 +0000 (22:43 +0200)]
No packages here.

11 years agoMerge pull request #8 from greg-king5/generic
Oliver Schmidt [Wed, 8 May 2013 06:55:14 +0000 (23:55 -0700)]
Merge pull request #8 from greg-king5/generic

Added two useful opcode mnemonic aliases.

11 years agoAdded two useful opcode mnemonic aliases. 8/head
Greg King [Tue, 7 May 2013 23:59:16 +0000 (19:59 -0400)]
Added two useful opcode mnemonic aliases.

bnz - jump if not zero.
bze - jump if zero.

11 years agoRemoved reference to CC65_HOME.
Oliver Schmidt [Tue, 7 May 2013 15:58:56 +0000 (17:58 +0200)]
Removed reference to CC65_HOME.

Now that we're pretty much independent from CC65_HOME
it doesn't make sense anymore to look for it in the Makefiles.

So rather dynamically check if there are "local" binaries in the
../bin directory. If there are "local" binaries use them - and
otherwise rely on "installed" binaries found in the path.

11 years agoAllow to build just the binaries or just the libraries from the top level Makefile.
Oliver Schmidt [Tue, 7 May 2013 15:49:35 +0000 (17:49 +0200)]
Allow to build just the binaries or just the libraries from the top level Makefile.

11 years agoMerge pull request #7 from greg-king5/config-buf
Oliver Schmidt [Tue, 7 May 2013 17:02:15 +0000 (10:02 -0700)]
Merge pull request #7 from greg-king5/config-buf

Removed unneeded variable and function.

11 years agoMerge pull request #6 from greg-king5/forget-path
Oliver Schmidt [Tue, 7 May 2013 15:11:39 +0000 (08:11 -0700)]
Merge pull request #6 from greg-king5/forget-path

Removed useless command-line option.

11 years agoRemoved useless command-line option. 6/head
Greg King [Tue, 7 May 2013 04:54:44 +0000 (00:54 -0400)]
Removed useless command-line option.

11 years agoRemoved unneeded variable and function. 7/head
Greg King [Tue, 7 May 2013 00:35:18 +0000 (20:35 -0400)]
Removed unneeded variable and function.
They were used with built-in configurations.
Commit 37c492b544dec2460fc2c16a3d66275cc0d4edc0 made them obsolete.

11 years agoHave cl65 run the binaries from its own directory.
Oliver Schmidt [Mon, 6 May 2013 22:47:37 +0000 (00:47 +0200)]
Have cl65 run the binaries from its own directory.

While ca65, cc65 and ld65 have built-in paths cl65 doesn't.
That means that up to now cl65 depended on the binaries
being found in the path env var. However it makes sense
to presume that the binaries are located in the very same
directory cl65 is located in. So whatever pathname was
suitable to run cl65 should be suitable to run the other
binaries too. But if for some reason there's no valid
argv[0] or if it doesn't contain at least one directory
delimiter ('/' or '\') then fall back to relying on the
path env var.

11 years agoAdded reference to unused variable to avoid GCC 4.6 warning.
Oliver Schmidt [Mon, 6 May 2013 21:31:00 +0000 (23:31 +0200)]
Added reference to unused variable to avoid GCC 4.6 warning.

11 years agoAdded search path relative to running binary on Windows.
Oliver Schmidt [Mon, 6 May 2013 21:20:56 +0000 (23:20 +0200)]
Added search path relative to running binary on Windows.

In contrast to *IX it doesn't make much sense to add compile time defined
search paths to Windows binaries: There's no standard path like /usr/local/bin
(and there are no symbolic links to link from there to another location).

On the other hand it's (again in contrast to *IX) easy for Windows binaries
to determine their own paths. Therefore it's appropriate to make use of that
to add run time defined default search paths.

11 years agoMerge pull request #4 from greg-king5/filepath
Oliver Schmidt [Mon, 6 May 2013 14:46:06 +0000 (07:46 -0700)]
Merge pull request #4 from greg-king5/filepath

Swapped the order of search paths.

11 years agoChanged the order of directories that are searched for files. 4/head
Greg King [Sat, 4 May 2013 03:25:06 +0000 (23:25 -0400)]
Changed the order of directories that are searched for files.

11 years agoAdded support for building the MS VS solution from the Makefile.
Oliver Schmidt [Sun, 5 May 2013 21:46:12 +0000 (23:46 +0200)]
Added support for building the MS VS solution from the Makefile.

11 years agoReduced verbosity.
Oliver Schmidt [Sun, 5 May 2013 20:34:04 +0000 (22:34 +0200)]
Reduced verbosity.

11 years agoAdded compatibility with cmd.exe (and reduced verbosity).
Oliver Schmidt [Sun, 5 May 2013 20:33:25 +0000 (22:33 +0200)]
Added compatibility with cmd.exe (and reduced verbosity).

11 years agoAvoid usage of cl65 for library build as it requires 'install'.
Oliver Schmidt [Sat, 4 May 2013 21:38:05 +0000 (23:38 +0200)]
Avoid usage of cl65 for library build as it requires 'install'.

11 years agoAdded top level Makefile.
Oliver Schmidt [Sat, 4 May 2013 21:01:07 +0000 (23:01 +0200)]
Added top level Makefile.

11 years agoReplaced whole bunch for Makefiles with a single generic Makefile.
Oliver Schmidt [Sat, 4 May 2013 20:15:30 +0000 (22:15 +0200)]
Replaced whole bunch for Makefiles with a single generic Makefile.

- No complex shell logic.
- "Source file shadowing" for all targets via vpath.
- Dependency handling.
- True incremental build.
- Don't write into source directories.
- Easy cleanup by just removing 'wrk'.

11 years agoReplaced whole bunch for Makefiles with a single generic Makefile.
Oliver Schmidt [Sat, 4 May 2013 20:10:48 +0000 (22:10 +0200)]
Replaced whole bunch for Makefiles with a single generic Makefile.

- No complex shell logic.
- "Source file shadowing" for all targets via vpath.
- Dependency handling.
- True incremental build.
- Don't write into source directories.
- Easy cleanup by just removing 'wrk'.

11 years agoIgnore only top level directories.
Oliver Schmidt [Sat, 4 May 2013 16:04:13 +0000 (18:04 +0200)]
Ignore only top level directories.

11 years agoRemoved obsolete Makefiles.
Oliver Schmidt [Sat, 4 May 2013 11:41:28 +0000 (13:41 +0200)]
Removed obsolete Makefiles.

11 years agoMake use of single character variable syntax for the formal parameter variable.
Oliver Schmidt [Sat, 4 May 2013 09:59:42 +0000 (11:59 +0200)]
Make use of single character variable syntax for the formal parameter variable.

11 years agoChanged the order of directories that are searched for include files.
Greg King [Sat, 4 May 2013 03:25:06 +0000 (23:25 -0400)]
Changed the order of directories that are searched for include files.

11 years agoReplaced three function calls with one.
Oliver Schmidt [Thu, 2 May 2013 21:57:26 +0000 (23:57 +0200)]
Replaced three function calls with one.

11 years agoAdded reference to unused variable to avoid GCC 4.6 warning.
Oliver Schmidt [Thu, 2 May 2013 12:39:47 +0000 (15:39 +0300)]
Added reference to unused variable to avoid GCC 4.6 warning.

11 years agoRemoved unused variable.
Oliver Schmidt [Thu, 2 May 2013 12:13:19 +0000 (15:13 +0300)]
Removed unused variable.

11 years agoRemoved unused variable.
Oliver Schmidt [Thu, 2 May 2013 12:09:38 +0000 (15:09 +0300)]
Removed unused variable.

11 years agoPlaced libraries and the end of the linker cmdline.
Oliver Schmidt [Thu, 2 May 2013 12:06:02 +0000 (15:06 +0300)]
Placed libraries and the end of the linker cmdline.

11 years agoRemoved unused variable.
Oliver Schmidt [Thu, 2 May 2013 11:55:17 +0000 (14:55 +0300)]
Removed unused variable.

11 years agoRemoved unused variables.
Oliver Schmidt [Thu, 2 May 2013 11:51:08 +0000 (14:51 +0300)]
Removed unused variables.

11 years agoRemoved unused variable.
Oliver Schmidt [Thu, 2 May 2013 11:42:33 +0000 (14:42 +0300)]
Removed unused variable.