2 Ревизии e8b3e61c6e ... e6a93e8bab

Автор SHA1 Съобщение Дата
  scuti e6a93e8bab merged branch 'speed-records', squashed преди 1 месец
  scuti e8b3e61c6e merged branch 'speed-records', squashed преди 1 месец
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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)