sfakeroot

manipulate files faking root privileges
git clone git://git.vx21.xyz/sfakeroot
Log | Files | Refs | README | LICENSE

Makefile (433B)


      1 # I'm assuming most Linux systems have the "new" statx call now,
      2 # https://www.man7.org/linux/man-pages/man2/statx.2.html
      3 # but if you're compiling on Linux and get errors about statx
      4 # set HAVE_STATX = 0
      5 HAVE_STATX = 1
      6 
      7 CFLAGS=-Wall -Wextra -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L -DHAVE_STATX=$(HAVE_STATX) -D_GNU_SOURCE
      8 
      9 BIN=chown lchown chmod stat lstat fstat fstatat fchown fchownat statx
     10 
     11 all: $(BIN)
     12 
     13 clean:
     14 	rm -f $(BIN)