#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
--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 \
+ --logo doc/html/gmqcc.png \
-1280x720
+
#ffmpeg flags for gource
FFMPEGFLAGS= \
-y \
-kepttrans \
-unqualifiedtrans \
+matchanyintegral \
- -bufferoverflowhigh \
+voidabstract \
-nullassign \
-unrecog \
@ splint $(SPLINTFLAGS) *.c *.h
gource:
+ @ gource $(GOURCEFLAGS)
+
+gource-record:
@ gource $(GOURCEFLAGS) -o - | ffmpeg $(FFMPEGFLAGS) gource.mp4
depend:
install: install-gmqcc install-qcvm install-doc
install-gmqcc: $(GMQCC)
install -d -m755 $(DESTDIR)$(BINDIR)
- install -m755 $(GMQCC) $(DESTDIR)$(BINDIR)/gmqcc
+ install -m755 $(GMQCC) $(DESTDIR)$(BINDIR)/$(GMQCC)
install-qcvm: $(QCVM)
install -d -m755 $(DESTDIR)$(BINDIR)
- install -m755 $(QCVM) $(DESTDIR)$(BINDIR)/qcvm
+ install -m755 $(QCVM) $(DESTDIR)$(BINDIR)/$(QCVM)
install-doc:
install -d -m755 $(DESTDIR)$(MANDIR)/man1
install -m644 doc/gmqcc.1 $(DESTDIR)$(MANDIR)/man1/