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
555 nomtime
$(PREFIX
)/bin
26 $(INST
) -m
444 $(MAN
) $(MANDIR
)/man1
29 $(RM
) $(PREFIX
)/bin
/$(POUT
)
30 $(RM
) $(PREFIX
)/bin
/nomtime
31 $(RM
) $(MANDIR
)/man1
/$(MAN
)
33 run_tests_dev
: $(TOUT
)
36 run_tests_usr
: $(POUT
)
39 $(POUT
): $(LIBS
) $(POBJ
)
40 $(CC
) $(LDFLAGS
) $(LIBS
) $(POBJ
) -o
$(POUT
)
42 $(TOUT
): $(LIBS
) $(TOBJ
)
43 $(CC
) $(LDFLAGS
) $(LIBS
) $(TOBJ
) -o
$(TOUT
)
46 $(RM
) -f
$(LIBS
) $(POBJ
) $(POUT
) $(TOBJ
) $(TOUT
)