2 Commits e8b3e61c6e ... e6a93e8bab

Auteur SHA1 Bericht Datum
  scuti e6a93e8bab merged branch 'speed-records', squashed 1 maand geleden
  scuti e8b3e61c6e merged branch 'speed-records', squashed 1 maand geleden
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  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)