From 79b336955cdc8470bb193ccc9c77de5f4bf9224e Mon Sep 17 00:00:00 2001
From: rick <rick@gnous.eu>
Date: Tue, 16 Feb 2021 22:28:32 +0100
Subject: [PATCH] =?UTF-8?q?Modif=20pour=20ne=20marcher=20qu=E2=80=99avec?=
 =?UTF-8?q?=20le=20fichier=20shellOpt.c?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 4050e3b..8623a1b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,18 @@
 CC=gcc
 CFLAGS=-Wall -g -Isrc/parser
 
-%: obj/lib.o obj/%.o 
+all: directories rishtik clean
+
+rishtik: obj/lib.o obj/shell.o 
 	$(CC) -o $@ $^
 
-obj/%.o: src/%.c 
+obj/shell.o: src/shellOpt.c 
 	$(CC) $(CFLAGS) $^ -o $@ -c
 
 obj/lib.o: src/parser/parser.c directories 
 	$(CC) $(CFLAGS) $< -o $@ -c
 
-.PHONY: directories clean
+.PHONY: all directories clean
 
 directories:
 	if ! [ -d "obj" ]; then \