From 6c7c4cc2f161eb02747e2ef6d1d59efae178db43 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 29 Jan 2019 17:25:07 +0100 Subject: Readme, Makefile II --- Makefile | 3 +-- Readme.md | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6be08cb..649aad5 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Readme.md b/Readme.md index c20ad07..e94db7f 100644 --- a/Readme.md +++ b/Readme.md @@ -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++ -- cgit v1.2.3