- compile clean
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@951 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user