- compile clean

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@951 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-13 06:52:25 +00:00
parent 106051fbdc
commit 2dfbde5af2
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ LDFLAGS_release := -O3 -flto
TARGET_ARCH := -march=native
CXXFLAGS += -std=c++20
CXX_SRCS += $(realpath .)/main.cpp
PWD := $(realpath .)
CXX_SRCS += $(PWD)/main.cpp
CXX_SRCS += $(PWD)/test.cpp
LIBS := -lstdc++ -lm -lpthread -lrt
LDFLAGS += $(TARGET_ARCH) $(LIBDIR)
@@ -1,6 +1,10 @@
#include <iostream>
using namespace std;
void test();
int main()
{
cout << "Halo, Welt!" << endl;
return 0;
}