From bb01da2d4df4a356bc766164fdcb6b5431bef004 Mon Sep 17 00:00:00 2001 From: Paul Roukema <roukemap@gmail.com> Date: 周三, 05 9月 2018 23:40:26 +0800 Subject: [PATCH] Fix undefined macro warnings for embedded targets Embedded targets may not define e.g. _BSD_SOURCE. Check if these are defined before using their values Also make sure that intenal macros are always defined --- Makefile | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9b011c7..9acd839 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean all test +.PHONY: clean all test install all: $(MAKE) -C libscpi @@ -9,4 +9,7 @@ $(MAKE) clean -C examples test: - $(MAKE) test -C libscpi \ No newline at end of file + $(MAKE) test -C libscpi + +install: + $(MAKE) install -C libscpi \ No newline at end of file -- Gitblit v1.9.1