From 4be4ac3e289fe4c555877841fa76d7b514625e1f Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 27 Feb 2022 10:05:38 +0100 Subject: ddcutil support --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8317a0b..8584d48 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CC = gcc -CFLAGS = -Wall -Wextra -O2 -std=c11 -fwrapv +CXX = g++ +CXXFLAGS = -Wall -Wextra -O2 -std=c++11 INSTALL_DIR = $(HOME)/prefix/bin BIN = brightness @@ -16,5 +16,5 @@ install: sudo chmod +s $(INSTALL_DIR)/brightness -$(BIN): brightness.c $(wildcard *.h) - $(CC) $(CFLAGS) $(filter %.c,$^) -o $@ +$(BIN): brightness.cpp $(wildcard *.h) + $(CXX) $(CXXFLAGS) $(filter %.cpp,$^) -o $@ -- cgit v1.2.3-70-g09d2