From 438342bc92456a36b950578be24b03e3d38a295d Mon Sep 17 00:00:00 2001 From: tonton Th Date: Tue, 17 Sep 2019 18:37:39 +0200 Subject: [PATCH] adding .a archive target --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e04f5f4..24f57ff 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ CC = gcc OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT CC = gcc +bubulles.a: bubulles.o + ar r $@ $? + bubulles.o: bubulles.c bubulles.h Makefile $(CC) $(OPT) -c $<