2 Commits e8b3e61c6e ... e6a93e8bab

Author SHA1 Message Date
  scuti e6a93e8bab merged branch 'speed-records', squashed 1 month ago
  scuti e8b3e61c6e merged branch 'speed-records', squashed 1 month ago
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Makefile

+ 4 - 1
Makefile

@@ -1,17 +1,20 @@
 CFLAGS= -Ofast -I"include"
 BIN=cts
 
-all: cgi colors4python staticgen
+all: colors4python staticgen
 
+# build for static page generator
 staticgen: colors.o src/dbquery.c
 	echo "\nCompiling executable as static page generator\n"
 	gcc -c src/dbquery.c $(CFLAGS) -DSTATICGEN
 	gcc -c src/main.c $(CFLAGS) -DSTATICGEN
 	gcc colors.o dbquery.o main.o -lsqlite3 -o $(BIN)
 
+# used by python script to colorize names (html)
 colors4python:
 	gcc $(CFLAGS) src/colors.c -o colors -DCOLORS4PYTHON
 
+# build fro cgi 
 cgi: main.o
 	gcc colors.o dbquery.o main.o -lsqlite3 -o $(BIN)