4 MANDIR ?
= $(PREFIX
)/man
10 CFLAGS
=-W
-Wall
-Werror
-Wfatal-errors
-Wextra
-pedantic-errors
-std
=c89
12 LIBS
=expat.o fail.o rss.o stack.o text.o layer.o fs.o
21 tests
: run_tests_dev run_tests_usr
24 $(INST
) -m
555 -s
$(POUT
) $(PREFIX
)/bin
25 $(INST
) -m
444 $(MAN
) $(MANDIR
)/man1
28 $(RM
) $(PREFIX
)/bin
/$(POUT
)
29 $(RM
) $(MANDIR
)/man1
/$(MAN
)
31 run_tests_dev
: $(TOUT
)
34 run_tests_usr
: $(POUT
)
37 $(POUT
): $(LIBS
) $(POBJ
)
38 $(CC
) $(LDFLAGS
) $(LIBS
) $(POBJ
) -o
$(POUT
)
40 $(TOUT
): $(LIBS
) $(TOBJ
)
41 $(CC
) $(LDFLAGS
) $(LIBS
) $(TOBJ
) -o
$(TOUT
)
44 $(RM
) -f
$(LIBS
) $(POBJ
) $(POUT
) $(TOBJ
) $(TOUT
)