first commit
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
MAKEFLAGS := --jobs=$(shell nproc)
|
||||
# MAKEFLAGS += --output-sync=target
|
||||
|
||||
# compiling with C++26
|
||||
BUILD_OPTS = -std=c++2c -Ofast -fdiagnostics-color=always
|
||||
|
||||
build:
|
||||
g++ -c $(BUILD_OPTS) -o main.o main.cpp
|
||||
g++ -c $(BUILD_OPTS) -o LCDDisplay.o -Iinclude include/LCDDisplay.cpp
|
||||
g++ $(BUILD_OPTS) -o linuxSmartie LCDDisplay.o main.o
|
||||
|
||||
clean:
|
||||
rm linuxSmartie *.o
|
||||
Reference in New Issue
Block a user