--- a/etc/pickup-c/Makefile +++ b/etc/pickup-c/Makefile @@ -1,3 +1,8 @@ -pickup: pickup.c +CFLAGS +="-std=c11" +pickup : pickup.o + gcc $(LDFLAGS) -o pickup pickup.o +pickup.o : pickup.c + gcc $(CFLAGS) -c pickup.c + tidy: pickup.c clang-tidy -header-filter=.*-checks='*' -fix-errors pickup.c -- -std=c11