fix: using CXX also as linker.

This commit is contained in:
Antonio Carzaniga 2022-05-30 18:03:41 +02:00
parent 8f9a8b71c9
commit 139d8d2997

View File

@ -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: