Makefile: Make makefile a bit more generic

Makefile: Added basic Makefile for standard make

base:addevent(): Accept integer as fd parameter

Fix potential stack slot leak when error occurs

(0) -30 -10 -4 +4 +10 +30 tip

mercurial