Improved doc and samples default target.

The 'all' target deliberately doesn't build the doc nor the samples. But that doesn't mean that the Makefiles in the 'doc' and 'samples' directories must default to the (empty) 'all' target.
This commit is contained in:
Oliver Schmidt
2016-06-19 18:55:00 +02:00
parent e47485f925
commit c9e9679a06
3 changed files with 28 additions and 27 deletions

View File

@@ -4,8 +4,9 @@
# This Makefile requires GNU make
#
# Run 'make samples SYS=<target>' to build for another target system
SYS = c64
# Run 'make SYS=<target>' or set a SYS env
# var to build for another target system.
SYS ?= c64
ifneq ($(shell echo),)
CMD_EXE = 1
@@ -147,12 +148,12 @@ EXELIST_atarixl = $(EXELIST_atari)
# --------------------------------------------------------------------------
# Rules to make the binaries and the disk
all:
samples: $(EXELIST_$(SYS))
disk: $(DISK_$(SYS))
all:
# --------------------------------------------------------------------------
# Overlay rules. Overlays need special ld65 configuration files. Also, the
# overlay file-names are shortenned to fit the Atari's 8.3-character limit.