diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-08 07:51:58 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-08 07:51:58 -0500 |
| commit | 72c272e703fd17841ea2e3bb5f54b0dbd9f0497f (patch) | |
| tree | 4b00ebaf12e4cbadf0e2a436edc6e9f2ec93a021 | |
| parent | a9b8e2543787a3b174968645d607b9c067cc8049 (diff) | |
| download | alftools-72c272e703fd17841ea2e3bb5f54b0dbd9f0497f.tar.gz | |
Makefile: add profile target.
| -rw-r--r-- | src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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. |
