From c3875aceab29ccea8733ac4758138eb5f5fc51c7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 26 Apr 2024 01:40:04 -0400 Subject: Makefile: get rid of explicit rules where implicit ones will do. --- Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3