objs = x86_64.o asm.o 
targ = ../libarch.a 
CFLAGS = -Wall -Werror -I../../include -g -ldl 

all : $(objs)
	@$(AR) cr -ldl $(targ) $(objs) 


%.o : %.c 
	@$(CC) -c $*.c $(CFLAGS)
	@echo -e "\tCC\t\t\t$*.c"


.PHONY clean :
	$(RM) $(objs)

