adding .a archive target

This commit is contained in:
tonton Th 2019-09-17 18:37:39 +02:00
parent e70f0d50ed
commit 438342bc92
1 changed files with 3 additions and 0 deletions

View File

@ -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 $<