diff options
author | Tom Smeding <tom@tomsmeding.com> | 2022-02-27 10:05:38 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2022-02-27 10:05:38 +0100 |
commit | 4be4ac3e289fe4c555877841fa76d7b514625e1f (patch) | |
tree | e35cba9b9a279afe38075f0878a2ec0ce5ad008b /Makefile | |
parent | 6412e6fd0f9f306b6b488191623c3ad0c6ea553c (diff) |
ddcutil support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 $@ |