CFLAGS = -D_GNU_SOURCE -Wall -Werror -Wunused
all: test1 test2
test1: test1.c
gcc $(CFLAGS) -o test1 test1.c
sudo chown root.root test1
sudo chmod +s test1
test2: test2.c
gcc $(CFLAGS) -o test2 test2.c -lpthread
clean:
rm -f *.o test1 test2