From 72c272e703fd17841ea2e3bb5f54b0dbd9f0497f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 8 Dec 2025 07:51:58 -0500 Subject: Makefile: add profile target. --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 25a6d32..5e5183d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -47,10 +47,13 @@ UNALF_OBJS=unalf.o io.o listalf.o extract.o f65.o glob.o opts.o usage.o self.o a ALFSUM_OBJS=alfsum.o self.o ALF_OBJS=alf.o self.o alfusage.o sanity.o crunch.o dupname.o -.PHONY: all clean install crosswin windows windows-upload realclean +.PHONY: all clean install crosswin windows windows-upload realclean profile all: $(BINS) $(MANS) +profile: clean + $(MAKE) COPT="-Og -pg" LDFLAGS="-pg" + # unalf and alfsum need explicit rules for BSD make compatibility. # without them, bmake tries to run "cc -o unalf unalf.c" which ain't # gonna ever work. -- cgit v1.2.3