24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
26 # POSSIBILITY OF SUCH DAMAGE. |
26 # POSSIBILITY OF SUCH DAMAGE. |
27 # |
27 # |
28 |
28 |
29 BUILD_ROOT = ../../../ |
29 UTIL_CFLAGS = -I/usr/include/mps -g |
30 OBJ_DIR = $(BUILD_ROOT)build/ |
|
31 |
30 |
32 CFLAGS = -I/usr/include/mps -g |
31 $(UTIL_OBJPRE)%.o: util/%.c |
33 LDFLAGS = |
32 cc -o $@ -c $(UTIL_CFLAGS) $(CFLAGS) $< |
34 |
33 |
35 include objs.mk |
34 $(UTIL_OBJPRE)%.o: util/%.cpp |
36 |
35 CC -o $@ -c $(UTIL_CFLAGS) $(CFLAGS) $< |
37 all: $(UTILOBJS) |
|
38 |
|
39 $(UTIL_OBJPRE)%.o: %.c |
|
40 cc -o $@ -c $(CFLAGS) $< |
|
41 |
|
42 $(UTIL_OBJPRE)%.o: %.cpp |
|
43 CC -o $@ -c $(CFLAGS) $< |
|
44 |
36 |