1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-09 17:33:00 +00:00

Removed tab characters.

The cc65 code base uses tab character only for make recipes.
This commit is contained in:
Oliver Schmidt 2016-06-01 20:59:33 +02:00
parent d455263e66
commit 6fca6897cd

View File

@ -5,7 +5,7 @@
# #
# Enter the target system here # Enter the target system here
SYS = c64 SYS = c64
# Determine the path to the executables and libraries. If the samples # Determine the path to the executables and libraries. If the samples
# directory is part of a complete source tree, use the stuff from that # directory is part of a complete source tree, use the stuff from that
@ -44,7 +44,7 @@ LD = ../bin/ld65
endif endif
# This one comes with VICE # This one comes with VICE
C1541 = c1541 C1541 = c1541
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# System-dependent settings # System-dependent settings
@ -90,20 +90,20 @@ LDFLAGS_tgidemo_atari = -D __RESERVED_MEMORY__=0x2000
# List of executables. This list could be made target-dependent by checking # List of executables. This list could be made target-dependent by checking
# $(SYS). # $(SYS).
EXELIST = ascii \ EXELIST = ascii \
diodemo \ diodemo \
enumdevdir \ enumdevdir \
fire \ fire \
gunzip65 \ gunzip65 \
hello \ hello \
mandelbrot \ mandelbrot \
mousetest \ mousetest \
multdemo \ multdemo \
nachtm \ nachtm \
ovrldemo \ ovrldemo \
plasma \ plasma \
sieve \ sieve \
tgidemo tgidemo
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Rules to make the binaries # Rules to make the binaries
@ -111,26 +111,26 @@ EXELIST = ascii \
.PHONY: all samples .PHONY: all samples
all: all:
samples: $(EXELIST) samples: $(EXELIST)
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Overlay rules. Overlays need special ld65 configuration files. Also, the # Overlay rules. Overlays need special ld65 configuration files. Also, the
# overlay file-names are shortenned to fit the Atari's 8.3-character limit. # overlay file-names are shortenned to fit the Atari's 8.3-character limit.
multdemo: multidemo.o multdemo: multidemo.o
@$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB) @$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
ovrldemo: overlaydemo.o ovrldemo: overlaydemo.o
@$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB) @$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Rule to make a CBM disk with all samples. Needs the c1541 program that comes # Rule to make a CBM disk with all samples. Needs the c1541 program that comes
# with the VICE emulator. # with the VICE emulator.
.PHONY: d64 .PHONY: d64
d64: samples.d64 d64: samples.d64
samples.d64: samples samples.d64: samples
@$(C1541) -format samples,AA d64 $@ > /dev/null @$(C1541) -format samples,AA d64 $@ > /dev/null
@for exe in $(EXELIST); do\ @for exe in $(EXELIST); do\
$(C1541) -attach $@ -write $$exe > /dev/null || exit $$?;\ $(C1541) -attach $@ -write $$exe > /dev/null || exit $$?;\
@ -144,7 +144,7 @@ samples.d64: samples
INSTALL = install INSTALL = install
samplesdir = $(prefix)/share/cc65 samplesdir = $(prefix)/share/cc65
.PHONY: install .PHONY: install
install: install:
$(if $(prefix),,$(error variable `prefix' must be set)) $(if $(prefix),,$(error variable `prefix' must be set))
$(INSTALL) -d $(DESTDIR)$(samplesdir) $(INSTALL) -d $(DESTDIR)$(samplesdir)
@ -159,7 +159,7 @@ install:
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Packaging rules # Packaging rules
.PHONY: zip .PHONY: zip
zip: zip:
@cd .. && zip -r cc65 samples/ @cd .. && zip -r cc65 samples/
@ -169,11 +169,11 @@ zip:
.PHONY: mostlyclean .PHONY: mostlyclean
mostlyclean: mostlyclean:
.PHONY: clean .PHONY: clean
clean: clean:
$(RM) *.map *.o *.s *.lbl $(RM) *.map *.o *.s *.lbl
.PHONY: zap .PHONY: zap
zap: clean zap: clean
$(RM) $(EXELIST) samples.d64 $(RM) $(EXELIST) samples.d64
$(RM) multdemo.? ovrldemo.? $(RM) multdemo.? ovrldemo.?