Makefile: Run $CC properly v1 APPLIED

Nulo: 1
 Makefile: Run $CC properly

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~leon_plickat/public-inbox/patches/32158/mbox | git am -3
Learn more about email & git

[PATCH] Makefile: Run $CC properly Export this patch

This fixes a build issue when trying to package for Alpine:

    gcc-Wl,--as-needed,-O1,--sort-common -o stacktile stacktile.o river-layout-v3.o river-status-unstable-v1.o -lwayland-client -lm
    make: gcc-Wl,--as-needed,-O1,--sort-common: No such file or directory
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5c15b2c..dfb6617 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ OBJ=stacktile.o river-layout-v3.o river-status-unstable-v1.o
GEN=river-layout-v3.h river-layout-v3.c river-status-unstable-v1.h  river-status-unstable-v1.h

stacktile: $(OBJ)
	$(CC)$ $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
	$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)

$(OBJ): $(GEN)


This typo has copy-pasted itself into pretty much all my makefiles.
I thought I fixed them all, but apparently I missed some...

Friendly greetings,
Leon Henrik Plickat