add deprecation note to makefile, rm old unit test configs

This commit is contained in:
2025-12-01 17:08:30 +01:00
parent 403a50d4ba
commit e7fc178e5b
3 changed files with 11 additions and 64 deletions

View File

@@ -18,6 +18,8 @@
#
# You can contact me by mail: <tom AT vondein DOT org>.
.PHONY: all clean man install deprecation
# warning: do not set -O to 2, see TODO
CFLAGS = -Wall -Wextra -Werror -O1 -g
LDFLAGS=
@@ -28,22 +30,25 @@ UID = root
GID = 0
MAN = udpxd.1
all: $(DST)
all: deprecation $(DST)
$(DST): $(OBJS)
$(DST): deprecation $(OBJS)
$(CC) $(OBJS) -o $(DST)
%.o: %.c
%.o: deprecation %.c
$(CC) -c $(CFLAGS) $*.c -o $*.o
clean:
clean: deprecation
rm -rf *.o $(DST) build .cache
man:
man: deprecation
pod2man udpxd.pod > udpxd.1
install: $(DST)
install: deprecation $(DST)
install -d -o $(UID) -g $(GID) $(PREFIX)/sbin
install -d -o $(UID) -g $(GID) $(PREFIX)/man/man1
install -o $(UID) -g $(GID) -m 555 $(DST) $(PREFIX)/sbin/
install -o $(UID) -g $(GID) -m 444 $(MAN) $(PREFIX)/man/man1/
deprecation:
@echo "+++ DEPRECATION NOTE: Use meson & ninja to build please! +++"