adding .a archive target

This commit is contained in:
tonton Th 2019-09-17 18:37:39 +02:00
parent e70f0d50ed
commit 438342bc92

View File

@ -13,6 +13,9 @@ CC = gcc
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
CC = gcc CC = gcc
bubulles.a: bubulles.o
ar r $@ $?
bubulles.o: bubulles.c bubulles.h Makefile bubulles.o: bubulles.c bubulles.h Makefile
$(CC) $(OPT) -c $< $(CC) $(OPT) -c $<