Strip on install, change compiler to cc so no change on BSD is needed

This commit is contained in:
2025-10-30 23:00:02 +01:00
parent 255f1d0773
commit a542f6ff7e
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# Makefile for pcapmirror
# Compiler
CC = gcc
CC = cc
# Compiler flags
CFLAGS = -Wall -g
@@ -45,7 +45,7 @@ clean:
# Install the executable
install: $(TARGET)
mkdir -p $(DESTDIR)$(PREFIX)/bin
install -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
install -s -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
install -D $(TARGET).8 $(DESTDIR)$(PREFIX)/share/man/man8/$(TARGET).8

View File

@@ -54,10 +54,10 @@ On the original download location you will also find several prebuilt packages.
### Supported Operating Systems
Source is tested to build and function on the following operating systems
* Debian Linux 12 + unstable (sid)
* Rocky Linux 8 + 9
* Debian Linux 12, 13 + unstable (sid)
* Rocky Linux 8, 9, 10
* PiOS 12 (bookworm)
* OpenBSD 7.6
* OpenBSD 7.6, 7.7
* MacOS 15
Compile the program: