Browse Source

Added .gitignore

pull/1/head
gyroninja 5 years ago
parent
commit
c884815b2f
  1. 6
      .gitignore
  2. 21
      Makefile
  3. 4
      src/graphics/opengl/shaders/gen/FontShader.h
  4. 4
      src/graphics/opengl/shaders/gen/TextureShader.h

6
.gitignore vendored

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
.idea
d
gen
src/graphics/opengl/shaders/gen
netrunner
*.iml

21
Makefile

@ -1,12 +1,13 @@ @@ -1,12 +1,13 @@
CXX = g++
CXXFLAGS = -O3 -flto=8
INCPATH = -I /usr/include/freetype2 -I /usr/include/harfbuzz
LINK = g++
LDFLAGS = -O3 -flto=8
LIBS = -lglfw -lGL -lGLEW -lfreetype -lharfbuzz
SRCDIR = src
OBJDIR = gen
DEPDIR = d
CXX = g++
CXXFLAGS = -O3 -flto=8
EXECUTABLE = netrunner
INCPATH = -I /usr/include/freetype2 -I /usr/include/harfbuzz
LINK = g++
LDFLAGS = -O3 -flto=8
LIBS = -lglfw -lGL -lGLEW -lfreetype -lharfbuzz
SRCDIR = src
OBJDIR = gen
DEPDIR = d
SOURCES = $(subst ./,,$(shell find . -name *.cpp))
OBJECTS = $(subst $(SRCDIR),$(OBJDIR),$(SOURCES:.cpp=.o))
@ -42,6 +43,6 @@ $(DEPDIR)/%d: ; @@ -42,6 +43,6 @@ $(DEPDIR)/%d: ;
.PRECIOUS: $(DEPDIR)/%.d
clean:
-@rm -rf src/graphics/opengl/shaders/gen $(OBJDIR) netrunner 2>/dev/null || true
-@rm -rf src/graphics/opengl/shaders/gen $(OBJDIR) $(EXECUTABLE) 2>/dev/null || true
include $(addsuffix .d,$(subst $(SRCDIR),$(DEPDIR),$(basename $(SOURCES))))

4
src/graphics/opengl/shaders/gen/FontShader.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#ifndef TEXTURESHADER_H
#define TEXTURESHADER_H
#ifndef FONTSHADER_H
#define FONTSHADER_H
const char *fontVertexShaderSource =
"#version 400\n"

4
src/graphics/opengl/shaders/gen/TextureShader.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#ifndef FONTSHADER_H
#define FONTSHADER_H
#ifndef TEXTURESHADER_H
#define TEXTURESHADER_H
const char *textureVertexShaderSource =
"#version 400\n"

Loading…
Cancel
Save