summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-29 17:25:07 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-29 17:25:07 +0100
commit6c7c4cc2f161eb02747e2ef6d1d59efae178db43 (patch)
tree6ad38a4d80f2eedb86073981f8ffd59ffc2afec9
parent3c9acdb5f8a783e7c07a9da81ee552808221f5a5 (diff)
downloadtermgl-6c7c4cc2f161eb02747e2ef6d1d59efae178db43.tar.gz
Readme, Makefile II
-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++