Commits

Ragnara committed eb2424d

CC and CFLAGS separated cleanly, make -e CC=gcc works

Comments (0)

Files changed (2)

-CC=clang -std=c11 -g -Wall -Wextra -Werror -pedantic
+CC=clang 
+CFLAGS=-std=c11 -g -Wall -Wextra -Werror -pedantic
 
 
 buildcounter: buildcounter.c
 	@buildcounter buildno.h || echo "No buildcounting"
-	$(CC) -o buildcounter buildcounter.c
+	$(CC) $(CFLAGS) -o buildcounter buildcounter.c
 
 clean:
 	-rm buildcounter
-#define BUILDNO 10
+#define BUILDNO 11