From bda666fb4fe1fb586c954c897a0b04fbfd38d3e5 Mon Sep 17 00:00:00 2001 From: night0721 Date: Tue, 22 Oct 2024 01:03:55 +0100 Subject: [PATCH] Update Makefile --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6988093..e6a9473 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ .POSIX: .SUFFIXES: -CC = cc VERSION = 1.0 TARGET = bob MANPAGE = $(TARGET).1 @@ -9,9 +8,8 @@ PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man/man1 -# Flags LDFLAGS != pkg-config --libs libcurl -CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 +CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall SRC = bob.c @@ -34,11 +32,11 @@ install: $(TARGET) chmod 644 $(DESTDIR)$(MANDIR)/$(MANPAGE) uninstall: - $(RM) $(DESTDIR)$(BINDIR)/$(TARGET) - $(RM) $(DESTDIR)$(MANDIR)/$(MANPAGE) + rm $(DESTDIR)$(BINDIR)/$(TARGET) + rm $(DESTDIR)$(MANDIR)/$(MANPAGE) clean: - $(RM) $(TARGET) + rm $(TARGET) all: $(TARGET)