
NAME = perso_b
CFLAGS = -g
SRCS = $(NAME).c

all:  $(NAME)

$(NAME): $(NAME).c
	$(CC) $(CFLAGS) -o $(NAME) -Wall $(NAME).c -lsys_s 

clean:
	rm -f $(NAME) $(NAME).o $(NAME).lst $(NAME).lod

installsrc:
	-rm -rf $(SRCROOT)
	mkdirs -m 755 $(SRCROOT)
	cp $(SRCS) Makefile $(SRCROOT)
	chmod 444 $(SRCROOT)/*

