Commit graph

5 commits

Author SHA1 Message Date
Marti Bolivar be75a466b7 Tweak build system to allow out-of-tree projects.
It's very annoying to have to build libmaple projects in-tree. Users
are just copying the repository everywhere. That's stupid. So I made this:

https://github.com/mbolivar/example-libmaple-project

It needs these patches to work.

Add a header and footer for rules.mk files, so we can change them
around and things will continue to work for the users, who just
include them.

In Makefile, add USER_MODULES to LIBMAPLE_MODULES if it's
nonempty. This is the hook you use to get your code compiled and
linked correctly.

Hack build-targets.mk for stupid reasons I hope to fix later. For now,
you'll need an empty main.cpp in BOTH the libmaple directory and your
directory if you want things to work the way you'd expect.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-14 23:43:48 -04:00
unknown e7ba4d7be6 build-targets.mk: Tweak for Windows compilation.
Make on Windows doesn't seem to like @echo without a string.
Give it an empty one to keep it happy.
2011-09-26 12:40:42 -04:00
Perry Hung 1601bbc452 Generate map file 2011-02-27 15:50:27 -05:00
Bruce Perens c30863ca9a Add library target, to build a .a file for use in complex projects.
Signed-off-by: Perry Hung <iperry@gmail.com>
2010-10-25 21:19:40 -04:00
Marti Bolivar 208e35e7d7 exposed build-targets.mk 2010-09-13 15:15:39 -04:00
Renamed from support/make/build-targets.mk (Browse further)