Makefile.astat: build with c++ instead of g++

GCC is not always present (eg. in MSYS2 clang env).
This commit is contained in:
Martin Pulec
2022-03-09 13:57:36 +01:00
parent 599616ea22
commit 5fd96af8e4

View File

@@ -1,6 +1,6 @@
test:
g++ -g -DASTAT_DEBUG -DDEFINE_TEST_MAIN astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread -o astat_test
c++ -g -DASTAT_DEBUG -DDEFINE_TEST_MAIN astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread -o astat_test
lib:
g++ -fpic -c -std=c++11 astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread
c++ -fpic -c -std=c++11 astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread
ar rcs astat.a astat.o platform_pipe.o