commit 93d5023

shrub900  ·  2026-05-04 16:24:25 +0000 UTC
parent d7125da
mk: posix compliance

The Open Group Base Specifications Issue 8 IEEE Std 1003.1-2024 does not specify link rules for linking executables with LDLIBS, see: 

https://pubs.opengroup.org/onlinepubs/9799919799/
1 files changed,  +1, -0
+1, -0
1@@ -22,6 +22,7 @@ OBJ = wawa.o $(PROTO:.h=.o)
2 
3 wawa.c: $(PROTO)
4 wawa: $(OBJ)
5+	$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS)  
6 
7 WAYLAND_PROTOCOLS != $(PKG_CONFIG) --variable=pkgdatadir wayland-protocols
8 WAYLAND_SCANNER   != $(PKG_CONFIG) --variable=wayland_scanner wayland-scanner