1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-27 12:29:33 +00:00
Commit Graph

170 Commits

Author SHA1 Message Date
Oliver Schmidt
2ef43e425a Adjusted to recent change. 2016-06-19 01:39:27 +02:00
Oliver Schmidt
66561c23c1 Made Makefile actually work.
Supported target systems:
* c64 (default)
* apple2
* apple2enh
* atari
* atarixl
2016-06-19 01:22:59 +02:00
Oliver Schmidt
64c10aa2fe Minor simplification. 2016-06-18 23:57:18 +02:00
Oliver Schmidt
9bc096d9b0 Make use of doesclrscrafterexit(). 2016-06-18 23:57:17 +02:00
Oliver Schmidt
271b65aa70 Added hint on how to quit program. 2016-06-12 23:48:19 +02:00
Oliver Schmidt
98973ee901 Avoid warnings on monochrom targets (and remove unnecessary code). 2016-06-12 23:30:29 +02:00
Oliver Schmidt
9f01392922 Write overlays to d64 image. 2016-06-02 20:49:10 +02:00
Oliver Schmidt
d653054d98 Allow usage of C1541 environment variable. 2016-06-01 23:48:09 +02:00
Oliver Schmidt
24256256fb Removed shell for-loop.
Just a few of the many reasons why shell for-loops have no place in (GNUmake) Makefiles:
* They don't conform to https://www.gnu.org/software/make/manual/html_node/Utilities-in-Makefiles.html
* They break Windows builds for sure
* They don't fit to make's approach of working with sets
* They break make parallelism
2016-06-01 23:47:02 +02:00
Oliver Schmidt
38778cdeb6 Don't cleanup files "just in case".
The build doesn't create *.lbl files so we're not deleting *.lbl files.
2016-06-01 23:04:46 +02:00
Oliver Schmidt
1ab725e526 Don't hide build commands.
The samples Makefile serves educational purposes. From that perspective it's counterproductive to hide the actual build commands. Apart fom that it becomes visible if an installed cc65 is used to build the samples.
2016-06-01 23:00:37 +02:00
Oliver Schmidt
506e44fb5d Corrected cleanup semantics.
There's no zap goal in cc65 Makefiles.
2016-06-01 22:50:42 +02:00
Oliver Schmidt
ec06d162bd Fixed clean goal on Windows.
Now that the clean goal of the samples Makefile is part of the global clean goal it should work on Windows!

BTW: Ideally the whole samples Makefile should work on Windows ;-))
2016-06-01 22:14:30 +02:00
Oliver Schmidt
d78b44f8c6 Adjusted to the cc65 Makefile style.
The cc65 Makefiles have a single .PHONY target. It serves as an overview of the "interesting" goals supported by the Makfile.
2016-06-01 21:08:47 +02:00
Oliver Schmidt
6fca6897cd Removed tab characters.
The cc65 code base uses tab character only for make recipes.
2016-06-01 20:59:33 +02:00
Oliver Schmidt
d455263e66 Don'r presume that the C64 is the only target.
Other targets have disks too and if at some point some one is interested enough to add support for disk creation for other targets too then 'disk' is no good goal name for a C64 disk.
2016-06-01 19:46:02 +02:00
Oliver Schmidt
3c8fd588f6 Don't fiddle with foreign files.
No cc65 tool creates *~ files so we don't cleanup *~ files. If some other tool (like an editor) creates *~ files it's up to the user - and only him - to decide when those files are to be deleted !
2016-06-01 19:41:51 +02:00
Patrycjusz R. Łogiewa
b7e7d1496b corrected all samples and samples.d64 targets 2016-06-01 16:37:05 +02:00
Patrycjusz R. Łogiewa
4dcfc036c8 samples zip and install targets moved into samples/Makefile as agreed 2016-05-30 17:42:01 +02:00
Patrycjusz R. Łogiewa
ba10c74a7a directory structure changed from driver-centric to target-centric 2016-05-16 19:49:43 +02:00
mrdudz
5bf8523dcd fix hello.c 2015-11-30 19:48:10 +01:00
Greg King
f94945308f Added missing parentheses.
A function call had looked like a function pointer (which caused an incompatible comparison).
2015-10-17 12:09:06 -04:00
Oliver Schmidt
575f859a03 Keep low level VIC sprite stuff out of user code. 2015-10-09 18:33:35 +02:00
mrdudz
0e29a0993f Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-20 18:42:04 +02:00
Oliver Schmidt
1d5ed2e2a7 Merge pull request #179 from greg-king5/overlay
Add overlay-samples make-rules.
2015-07-20 18:00:56 +02:00
mrdudz
4afcfb3498 fixed hello.c for pce 2015-07-20 16:03:03 +02:00
Oliver Schmidt
1072f7d6f7 Made hello program compatible with joystick-only target(s). 2015-07-20 07:46:18 +02:00
Greg King
25cf239d80 Added make rules that build the overlay sample programs.
Fixes half of bug issue 178 (on GitHub).
2015-07-16 15:31:35 -04:00
Greg King
0390c34e88 Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
132d57f1ad Revert "don't define DYN_DRV for targets which don't predefine it"
This reverts commit 29671f5f06.
2014-06-04 23:50:46 +02:00
Christian Groessler
29671f5f06 don't define DYN_DRV for targets which don't predefine it 2014-06-01 19:18:57 +02:00
Oliver Schmidt
09df0a1175 Added sample descriptions. 2014-04-28 22:14:27 +02:00
Oliver Schmidt
c6ee9ac034 Classified tgi_imulround() as part of TGI API. 2014-03-27 19:31:18 +01:00
Christian Groessler
329aaea549 make ld65 invocation silent again 2014-03-24 12:23:24 +01:00
Christian Groessler
d97a46c397 Simplify to use less 'if's. Add missing link options for Atari TGI
programs. Put '--start-addr' at beginning of ld65 command line.
2014-03-22 12:04:50 +01:00
Greg King
34c23c4c7d Made mousetest.c know that the CBM510 has a lightpen driver. 2013-09-09 17:09:33 -04:00
Greg King
004db51960 Made mousetest work better with CBM510s. 2013-08-23 03:12:16 -04:00
Greg King
3b544613d2 Moved the lightpen names from <mouse.h> to a new <pen.h>.
Renamed the adjuster pointer.
2013-07-25 13:32:40 -04:00
Greg King
a555b5f6a5 Merge branch 'master' into lightpen 2013-07-01 09:25:02 -04:00
Greg King
ecef5551a8 Merged testcode/lib/pen-test.c into the mousetest.c sample program.
A command-line option can force mousetest to be built with a statically linked
driver.
2013-06-27 10:01:47 -04:00
Greg King
88c102b993 Renamed the mouse sample program because it also tests the mouse library. 2013-06-24 06:37:28 -04:00
Oliver Schmidt
c4c67b9205 Fixed comment. 2013-06-21 12:36:37 +02:00
Oliver Schmidt
578d2fe25d Fixed comment. 2013-06-21 13:35:35 +03:00
Oliver Schmidt
83280e1ee2 Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__. 2013-06-17 21:34:08 +02:00
Oliver Schmidt
7572834ebf Use cbm_load() to load overlays on CBMs. 2013-05-29 01:12:24 +02:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ol.sc
ca2ba14bbe Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 22:01:51 +00:00
ol.sc
895779d612 Consistently use conio (instead of mixing with stdio).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 21:10:24 +00:00
ol.sc
247223f3ae Use array type declaration to avoid &-operator.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 20:31:23 +00:00
ol.sc
e7d5f26863 Use array type declaration to avoid &-operator.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5910 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 20:23:50 +00:00