logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: bf95244b9ef457f0d5167fdf1ca285319f055022
parent 4bfa5dcc44957726d5374fe3b637d0d06acea4c5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 10 Feb 2022 00:59:09 +0100

Makefile.common: Clean out old variables

Diffstat:

MMakefile.common9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/Makefile.common b/Makefile.common @@ -1,12 +1,7 @@ -# POSIX-ish Makefile with extensions common to *BSD and GNU such as: -# - Usage of backticks for shell evaluation -# - Usage of ?= for defining variables when not already defined -# - Usage of += for appending to a variable - all: $(EXE) .PHONY: test -test: $(EXE_test) +test: .c: $(CC) -std=c99 $(CFLAGS) -o $@ $< $(LDFLAGS) @@ -16,4 +11,4 @@ test: $(EXE_test) .PHONY: clean clean: - rm -fr $(OBJS) $(OBJS_test) $(EXE) $(EXE_test) + rm -fr $(EXE)