Makefile 248 B

12345678910111213141516
  1. objs = interp.o arch_funcall.o
  2. targ = ../libarch.a
  3. CFLAGS = -Wall -Werror -I../../include -g -ldl
  4. all : $(objs)
  5. @$(AR) cr -ldl $(targ) $(objs)
  6. %.o : %.c
  7. @$(CC) -c $*.c $(CFLAGS)
  8. @echo -e "\tCC\t\t\t$*.c"
  9. .PHONY clean :
  10. $(RM) $(objs)