2015-09-26 12:23:19 -04:00
|
|
|
CFLAGS = -Wall
|
|
|
|
LOADLIBES = -ldl
|
|
|
|
|
2016-08-02 09:50:16 -04:00
|
|
|
gcc-glibmm-abi-check: abicheck.c
|
2015-09-26 12:23:19 -04:00
|
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) \
|
|
|
|
-o gcc-glibmm-abi-check \
|
|
|
|
abicheck.c \
|
|
|
|
$(LDFLAGS) $(LOADLIBES)
|
|
|
|
|
|
|
|
check: gcc-glibmm-abi-check
|
|
|
|
./gcc-glibmm-abi-check
|
|
|
|
|
|
|
|
gcc-glibmm-abi-check.1: gcc-glibmm-abi-check
|
|
|
|
help2man -N \
|
|
|
|
-n 'glib gcc4/5 C++11 ABI compatibility test' \
|
|
|
|
-o gcc-glibmm-abi-check.1 \
|
|
|
|
./gcc-glibmm-abi-check
|
|
|
|
|
|
|
|
.PHONY: check
|