We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63bb64b commit c572d4dCopy full SHA for c572d4d
Makefile
@@ -21,18 +21,22 @@ endif
21
ABI := $(shell ./abiname.sh "$(CC)" "$(CFLAGS)")
22
ifndef ABI
23
$(error Could not determine platform)
24
-else
25
-$(info ABI is $(ABI))
26
endif
27
28
LIB := lib/$(ABI)
29
30
all: $(LIB)/libstackman.a
31
+# echo the abiname, for build tools.
+.PHONY: abiname
32
+abiname:
33
+ @echo $(ABI)
34
+
35
obj = stackman/stackman.o stackman/stackman_s.o
36
37
38
$(LIB)/libstackman.a: lib $(obj)
39
+ $(info ABI is $(ABI))
40
$(AR) $(ARFLAGS) -s $@ $(obj)
41
42
.PHONY: lib clean
0 commit comments