aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-04-26 01:40:04 -0400
committerB. Watson <urchlay@slackware.uk>2024-04-26 01:40:04 -0400
commitc3875aceab29ccea8733ac4758138eb5f5fc51c7 (patch)
tree786eb81510a29ca862890ebdc6982208675395b7
parent7a7b256c5a288220495aa36fa1bd362629d31f2d (diff)
downloadbw-atari8-tools-c3875aceab29ccea8733ac4758138eb5f5fc51c7.tar.gz
Makefile: get rid of explicit rules where implicit ones will do.
-rw-r--r--Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 0144efa..a3e27ad 100644
--- a/Makefile
+++ b/Makefile
@@ -44,13 +44,10 @@ RST2MAN=rst2man
all: $(BINS) manpages
a8eol: a8eol.c
- $(CC) $(CFLAGS) -o a8eol a8eol.c
xfd2atr: xfd2atr.c
- $(CC) $(CFLAGS) -o xfd2atr xfd2atr.c
atr2xfd: atr2xfd.c
- $(CC) $(CFLAGS) -o atr2xfd atr2xfd.c
# note to cross-compiler users: If you're building the *.bin targets,
# blob2c needs to be executable on the build host. It'd also be nice
@@ -68,7 +65,6 @@ atr2xfd: atr2xfd.c
# tarball comes with prebuilt *.bin files).
blob2c: blob2c.c
- $(CC) $(CFLAGS) -o blob2c blob2c.c
fenders.bin: fenders.dasm asmwrapper.sh
sh asmwrapper.sh fenders
@@ -99,31 +95,22 @@ loadscreen_bin.c: loadscreen.bin blob2c
./blob2c loadscreen.bin > loadscreen_bin.c 2>loadscreen_bin.h
cart2xex: cart2xex.c loadscreen_bin.c get_address.o cart.o
- $(CC) $(CFLAGS) -o cart2xex cart2xex.c loadscreen_bin.c get_address.o cart.o
rom2cart: rom2cart.c cart.o
- $(CC) $(CFLAGS) -o rom2cart rom2cart.c cart.o
cart.o: cart.c cart.h
- $(CC) $(CFLAGS) -c cart.c
get_address.o: get_address.c get_address.h
- $(CC) $(CFLAGS) -c get_address.c
xex.o: xex.c xex.h
- $(CC) $(CFLAGS) -c xex.c
xextest: xextest.c xex.o
- $(CC) $(CFLAGS) -o xextest xextest.c xex.o
xexsplit: xexsplit.c xex.o
- $(CC) $(CFLAGS) -o xexsplit xexsplit.c xex.o
xexcat: xexcat.c xex.o get_address.o
- $(CC) $(CFLAGS) -o xexcat xexcat.c xex.o get_address.o
-blob2xex: blob2xex.c get_address.o
- $(CC) $(CFLAGS) -o blob2xex blob2xex.c xex.o get_address.o
+blob2xex: blob2xex.c xex.o get_address.o
# This is a work-in-progress, not ready yet.
xexamine: xexamine.c xex.o get_address.o