summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--Readme.md6
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++