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.  


Done.

On Tue, Oct 7, 2014 at 12:06 PM, Jeremy Rossi <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
>
> Why not use the number in place of name? Might be simpler.
> ... <#148eb5c6aea1ff75_>
>  On Oct 7, 2014, at 11:52 AM, ddpbsd <notifications@github.com> wrote: In
> src/Makefile: > + > + > +.PHONY: build > +build:: ${TARGET} > + @echo
> <https://github.com/echo> > + ${QUIET_NOTICE} > + @echo
> <https://github.com/echo> "Done building ${TARGET}" > + ${QUIET_ENDCOLOR}
> > + @echo <https://github.com/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.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/ossec/ossec-hids/pull/334/files#r18529189>.
>