mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 10:21:03 +00:00
Added gource rule to makefile
This commit is contained in:
parent
a798859a7a
commit
dfca3743f9
1 changed files with 24 additions and 1 deletions
25
Makefile
25
Makefile
|
@ -84,6 +84,26 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
#gource flags
|
||||
GOURCEFLAGS= \
|
||||
--date-format "%d %B, %Y" \
|
||||
--seconds-per-day 0.01 \
|
||||
--auto-skip-seconds 1 \
|
||||
--title "GMQCC" \
|
||||
-1280x720
|
||||
#ffmpeg flags for gource
|
||||
FFMPEGFLAGS= \
|
||||
-y \
|
||||
-r 60 \
|
||||
-f image2pipe \
|
||||
-vcodec ppm \
|
||||
-i - \
|
||||
-vcodec libx264 \
|
||||
-preset ultrafast \
|
||||
-crf 1 \
|
||||
-threads 0 \
|
||||
-bf 0
|
||||
|
||||
#splint flags
|
||||
SPLINTFLAGS = \
|
||||
-redef \
|
||||
|
@ -163,11 +183,14 @@ test: all
|
|||
@ ./$(TESTSUITE)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat
|
||||
rm -f *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat gource.mp4
|
||||
|
||||
splint:
|
||||
@ splint $(SPLINTFLAGS) *.c *.h
|
||||
|
||||
gource:
|
||||
@ gource $(GOURCEFLAGS) -o - | ffmpeg $(FFMPEGFLAGS) gource.mp4
|
||||
|
||||
depend:
|
||||
@makedepend -Y -w 65536 2> /dev/null \
|
||||
$(subst .o,.c,$(OBJ_D))
|
||||
|
|
Loading…
Reference in a new issue