Created
August 30, 2024 09:03
-
-
Save su8/9d705eee90f1b8175efc0ddde82c181b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 08/29/2024 https://github.com/su8/cblogfy | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# You should have received a copy of the GNU General Public License | |
# along with this program; if not, write to the Free Software | |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
# MA 02110-1301, USA. | |
CFLAGS+=-g2 -Wall -Wextra -O2 -D_DEFAULT_SOURCE -std=c++17 -pipe -pedantic -Wundef -Wshadow -W -Wwrite-strings -Wcast-align -Wstrict-overflow=5 -Wconversion -Wpointer-arith -Wstrict-prototypes -Wformat=2 -Wsign-compare -Wendif-labels -Wredundant-decls -Winit-self | |
PACKAGE=cppblogfy | |
PROG=cppblogfy.cpp | |
all: | |
$(CXX) -o $(PACKAGE) $(PROG) $(CFLAGS) | |
install: | |
install -D -s -m 755 $(PACKAGE) /usr/bin/$(PACKAGE) | |
clean: | |
rm -f $(PACKAGE) | |
uninstall: | |
rm -f /usr/bin/$(PACKAGE) | |
.PHONY: all install clean uninstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment