From 139d8d299745847b72f1cf131e3a779deedfe54f Mon Sep 17 00:00:00 2001 From: Antonio Carzaniga Date: Mon, 30 May 2022 18:03:41 +0200 Subject: [PATCH] fix: using CXX also as linker. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0c12939..8bde1d4 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ run: balls all: $(PROGS) balls: $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ .PHONY: clean clean: