]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Merge branch 'master' into cooking
[xonotic/gmqcc.git] / Makefile
index f35de15c608c19e6f7ecb1771f3786dfbe6226ff..20152c5bf3f6cfa361066c45a33cf097d3917a73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ else
        #Tiny C Compiler doesn't know what -pedantic-errors is
        # and instead of ignoring .. just errors.
        ifneq ($(CC), tcc)
-               CFLAGS +=-pedantic-errors
+               CFLAGS +=-pedantic-errors -ffunction-sections -fdata-sections -Wl,-gc-sections
        else
                CFLAGS += -Wno-pointer-sign -fno-common
        endif
@@ -91,7 +91,17 @@ GOURCEFLAGS=                  \
     --seconds-per-day 0.01    \
     --auto-skip-seconds 1     \
     --title "GMQCC"           \
+    --key                     \
+    --camera-mode overview    \
+    --highlight-all-users     \
+    --file-idle-time 0        \
+    --hide progress,mouse     \
+    --stop-at-end             \
+    --max-files 99999999999   \
+    --max-file-lag 0.000001   \
+    --bloom-multiplier 1.3    \
     -1280x720
+
 #ffmpeg flags for gource
 FFMPEGFLAGS=                  \
     -y                        \
@@ -140,7 +150,6 @@ SPLINTFLAGS =            \
     -kepttrans           \
     -unqualifiedtrans    \
     +matchanyintegral    \
-    -bufferoverflowhigh  \
     +voidabstract        \
     -nullassign          \
     -unrecog             \
@@ -190,6 +199,9 @@ splint:
        @  splint $(SPLINTFLAGS) *.c *.h
 
 gource:
+       @ gource $(GOURCEFLAGS)
+
+gource-record:
        @ gource $(GOURCEFLAGS) -o - | ffmpeg $(FFMPEGFLAGS) gource.mp4
 
 depend: