From 48fa384a802d91183c6d990b8cceb99fe2f66a57 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Fri, 11 Oct 2024 13:36:24 +0200 Subject: [PATCH] add clean rule --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42b05ef..74fa8f7 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ CC = gcc CFLAGS = -Wall -Wextra -pedantic -std=c99 -O2 -PREFIX = $(HOME)/.local +PREFIX = /usr/local ambientd: ambientd.c install: cp ambientd ${PREFIX}/bin/ + +clean: + rm -f ambientd