|
@@ -234,9 +234,13 @@ endif
|
|
|
|
|
|
ifneq ($(findstring gcc,$(CC)),)
|
|
|
ifneq ($(findstring SunOS,$(shell uname -a)),SunOS)
|
|
|
+ifeq ($(findstring Darwin,$(shell uname -a)),Darwin)
|
|
|
+LDFLAGS += -Wl,-map,$(TARGET).map
|
|
|
+else
|
|
|
LDFLAGS += -Wl,-Map=$(TARGET).map
|
|
|
endif
|
|
|
endif
|
|
|
+endif
|
|
|
|
|
|
target_: $(TARGET)
|
|
|
|