NoElyz/MENaction — pull request #1 by tyeken8 (2012-06-22 02:33:03+00:00)
Title: Normalize Makefile

1) Usually CC LD CFLAGS LDFLAGS etc. are used for passed-in arguments, don't override them in the file.
2) If you want to use silent rules, then use silent rules everywhere, if not, then don't use it at all places.
3) Don't use ``, it will be expanded while invoking in every action (eg. Line 26), that'll be slow. use $(shell pkg-config xxx) for instead, it will be expanded immediately.
4) Make clean and distclean separately.
5) If you want to use pkg-config, then you should declare this in README or INSTALL, refer to https://github.com/tyeken8/osudl/blob/93e0de749d291ce135c7479fd4a68ce4177bcdc5/README.