Makefile need love too

Lots of discussion has take place in #320 

New make build system.  This **REQURES** **gmake** to work and with this we have pushed almost all the logic about build the code into a single file src/Makefile 

* The Makefile is designed for developers other people that like playing with pointy dangerous things. 
* install.sh is designed for users and should be the supported method for install. 

I am sure it will need more work and I am creating the Pull Request to get more people to try it out and report back.  


Why not use the number in place of name? Might be simpler.  



> On Oct 7, 2014, at 11:52 AM, ddpbsd <notifications@github.com> wrote:
> 
> In src/Makefile:
> 
> > +
> > +
> > +.PHONY: build
> > +build:: ${TARGET}
> > +	@echo
> > +	${QUIET_NOTICE}
> > +	@echo "Done building ${TARGET}"
> > +	${QUIET_ENDCOLOR}
> > +	@echo
> > +
> > +
> > +.PHONY: install install-agent install-server install-local install-hybrid
> > +install: install-${TARGET}
> > +
> > +install-agent: install-common
> > +	install -m 0550 -o root -g root ossec-agentd ${PREFIX}/bin
> I looked at FreeBSD and NetBSD source repositories and they have wheel as gid 0. OpenBSD does as well.
> …
> —
> Reply to this email directly or view it on GitHub.