Initial project setup.
Create simple Makefile for project compilation.
This commit is contained in:
4
README.md
Normal file
4
README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Functional MRI for Neural Networks
|
||||
|
||||
An attempt to create real-time in depth visualisation for neural
|
||||
networks.
|
||||
35
src/.gitignore
vendored
Normal file
35
src/.gitignore
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
*.smod
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Real project executable.
|
||||
fmri
|
||||
27
src/Makefile
Normal file
27
src/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
.PHONY: all clean
|
||||
|
||||
# Compilation settings
|
||||
CXXFLAGS=-Wall -Wextra -pedantic -std=c++14 -g -O2
|
||||
LDLIBS=
|
||||
|
||||
|
||||
# Project artifacts
|
||||
_EXE=fmri
|
||||
_OBJECTS=\
|
||||
main.o
|
||||
|
||||
all: fmri
|
||||
|
||||
fmri: $(_OBJECTS)
|
||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
clean:
|
||||
$(RM) *.o *.d
|
||||
$(RM)
|
||||
|
||||
# Automatic header dependency detection
|
||||
%.d: %.cpp
|
||||
$(CXX) -MM -MF $@ $<
|
||||
|
||||
_DEPFILES=$(patsubst %.cpp, %.d, $(wildcard *.cpp))
|
||||
-include $(_DEPFILES)
|
||||
10
src/main.cpp
Normal file
10
src/main.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
cout << "This is just a test." << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user