From 9a6b5f72a683c02a83ac19df3ea219e625fafafc Mon Sep 17 00:00:00 2001
From: lagovirtual <lago@lagoproject.org>
Date: Thu, 27 Jul 2017 11:55:17 -0300
Subject: [PATCH] Minor changes at makefile

---
 Makefile     | 2 +-
 src/Makefile | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dd9524c..865bcf2 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ run:
 	$(MAKE) -C $(SIM_DIR)
 
 clean:
-	rm -f bin/*
+	rm -rf bin
 	$(MAKE) -C $(CODE_DIR) clean
 
 simclean:
diff --git a/src/Makefile b/src/Makefile
index 12edb54..a9bd4ec 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -30,6 +30,7 @@ clean:
 	rm -f $(TARGETS) *.o *Dict*
 
 install:
+	mkdir -p ../bin/
 	cp $(TARGETS) ../bin/
 
 # dependencies added by makedep (and slightly alterated for ROOT dictionnaries)
-- 
GitLab