diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-29 17:25:07 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-29 17:25:07 +0100 |
commit | 6c7c4cc2f161eb02747e2ef6d1d59efae178db43 (patch) | |
tree | 6ad38a4d80f2eedb86073981f8ffd59ffc2afec9 | |
parent | 3c9acdb5f8a783e7c07a9da81ee552808221f5a5 (diff) | |
download | termgl-6c7c4cc2f161eb02747e2ef6d1d59efae178db43.tar.gz |
Readme, Makefile II
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | Readme.md | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -29,14 +29,13 @@ build: genversion $(OBJ) $(CC) $(CFLAGS) -c $< - all: clean build .PHONY: clean clean: rm -df $(OBJ) test.o version.h - rm -R $(BUILDDIR) + rm -Rdf $(BUILDDIR)/lib $(BUILDDIR)/inc $(BUILDDIR)/test run: test ./$(BUILDDIR)/test/test @@ -5,8 +5,8 @@ engine should compile just fine with just the c++ standard librarys. Required Packages: - g++ - make + g++ + make this creates two folders in ./build/: lib and inc, wich hold the library and the headers respectively. these can then be copied into your projects directory. @@ -14,4 +14,4 @@ this creates two folders in ./build/: lib and inc, wich hold the library and the Compile your program with linkerflags: - -L./lib -lengine -lstdc++ + -L./lib -lengine -lstdc++ |