From bd86a4da9a827437aa50614712f4f494f0212e72 Mon Sep 17 00:00:00 2001 From: hraouak Date: Thu, 2 May 2019 11:47:52 +0200 Subject: [PATCH] update --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5b88990..2b1bbe5 100755 --- a/Makefile +++ b/Makefile @@ -1,11 +1,15 @@ +EXEC=executable -all: executable +all: $(EXEC) -executable: projet.o - gcc -o executable projet.o -g +executable: projet.o main.o + gcc -o executable projet.o main.o -g projet.o: projet.c gcc -c projet.c + +main.o: main.c projet.h + gcc -c main.c clean: rm -rf *.o -- libgit2 0.21.2