adding .a archive target
This commit is contained in:
parent
e70f0d50ed
commit
438342bc92
3
Makefile
3
Makefile
@ -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 $<
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user