Makefile: clean up Makefile
authorBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 16:47:05 +0000 (09:47 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 17:00:16 +0000 (10:00 -0700)
commit2aa9c9540491284f29464e9756b8896f2cbbc8c8
treebef1cc0d885b0735dbe720d208bf1f1010444928
parent1a4bbd1e723d4fb2b791c7e19c4a104fe35e5b56
Makefile: clean up Makefile

There are a number of inconsistencies and superfluous arguments:

- For libmymemory, we don't need (or want) to hardcode a shared library
  relative path
- For libmodel, we don't really need the 'soname' parameter
- Linking C++ probably should be done with the C++ compiler, not the C compiler
- We don't need CPPFLAGS for linking-only stages
- We want to use LDFLAGS for an early-stage linking rather than the late-stage
  linking of the user program

Overall, simpler is better
Makefile