+ rm -f *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat gource.mp4 *.exe
+
+splint:
+ @ splint $(SPLINTFLAGS) *.c *.h
+
+gource:
+ @ gource $(GOURCEFLAGS)
+
+gource-record:
+ @ gource $(GOURCEFLAGS) -o - | ffmpeg $(FFMPEGFLAGS) gource.mp4
+
+depend:
+ @makedepend -Y -w 65536 2> /dev/null \
+ $(subst .o,.c,$(OBJ_D))
+ @makedepend -a -Y -w 65536 2> /dev/null \
+ $(subst .o,.c,$(OBJ_T))
+ @makedepend -a -Y -w 65536 2> /dev/null \
+ $(subst .o,.c,$(OBJ_C))
+ @makedepend -a -Y -w 65536 2> /dev/null \
+ $(subst .o,.c,$(OBJ_X))
+ @makedepend -a -Y -w 65536 2> /dev/null \
+ $(subst .o,.c,$(OBJ_P))
+
+#install rules
+install: install-gmqcc install-qcvm install-doc
+install-gmqcc: $(GMQCC)
+ install -d -m755 $(DESTDIR)$(BINDIR)
+ install -m755 $(GMQCC) $(DESTDIR)$(BINDIR)/$(GMQCC)
+install-qcvm: $(QCVM)
+ install -d -m755 $(DESTDIR)$(BINDIR)
+ install -m755 $(QCVM) $(DESTDIR)$(BINDIR)/$(QCVM)
+install-doc:
+ install -d -m755 $(DESTDIR)$(MANDIR)/man1
+ install -m644 doc/gmqcc.1 $(DESTDIR)$(MANDIR)/man1/
+ install -m644 doc/qcvm.1 $(DESTDIR)$(MANDIR)/man1/
+
+uninstall:
+ rm $(DESTDIR)$(BINDIR)/gmqcc
+ rm $(DESTDIR)$(BINDIR)/qcvm
+ rm $(DESTDIR)$(MANDIR)/man1/doc/gmqcc.1
+ rm $(DESTDIR)$(MANDIR)/man1/doc/qcvm.1
+
+# DO NOT DELETE
+
+util.o: gmqcc.h opts.def
+code.o: gmqcc.h opts.def
+ast.o: gmqcc.h opts.def ast.h ir.h
+ir.o: gmqcc.h opts.def ir.h
+conout.o: gmqcc.h opts.def
+ftepp.o: gmqcc.h opts.def lexer.h
+opts.o: gmqcc.h opts.def
+fs.o: gmqcc.h opts.def
+utf8.o: gmqcc.h opts.def
+correct.o: gmqcc.h opts.def
+
+test.o: gmqcc.h opts.def
+util.o: gmqcc.h opts.def
+conout.o: gmqcc.h opts.def
+fs.o: gmqcc.h opts.def
+
+main.o: gmqcc.h opts.def lexer.h
+lexer.o: gmqcc.h opts.def lexer.h
+parser.o: gmqcc.h opts.def lexer.h ast.h ir.h intrin.h
+fs.o: gmqcc.h opts.def
+
+util.o: gmqcc.h opts.def
+conout.o: gmqcc.h opts.def
+fs.o: gmqcc.h opts.def
+
+util.o: gmqcc.h opts.def
+fs.o: gmqcc.h opts.def
+conout.o: gmqcc.h opts.def
+opts.o: gmqcc.h opts.def
+pak.o: gmqcc.h opts.def