diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 03:50:01 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 03:50:01 +0000 |
| commit | dbe91ff5847a2d305aaa96c5632c7b646f6f49e5 (patch) | |
| tree | 68c256fc95a3825069c3700e91c6de6c1e125c5f /Makefile | |
| parent | ce574919bc809ace81837fdd87d130651a7c7a50 (diff) | |
aintea <aintea@protonmail.com> fix according to new comp flags
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,19 @@ +# pkgit - package it! + +# Copyright (C) 2026 dacctal +# 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, see <https://www.gnu.org/licenses/>. + .PHONY: default debug install defconfig clean CC ?= clang @@ -6,7 +22,7 @@ PREFIX ?= /usr/local OBJDIR = obj SRCS = $(wildcard src/*.c) OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o) -CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 -Wall -Wextra +CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 -Wall -Wextra -Werror -Wvla -pedantic # pretty print for compilation. To enable verbose (show commands), run with # `make V=1` |
