X-Git-Url: http://royale.zerezo.com/git/?p=FAPG;a=blobdiff_plain;f=Makefile;h=6e8000fb638914129df00b7f97f599fc209a1209;hp=0b26a2d9d48d4cee132d821bac1e740eef80d969;hb=refs%2Ftags%2Fv0.35;hpb=5fcf230b83f0541f31b9ccc18ac34391504246b6 diff --git a/Makefile b/Makefile old mode 100755 new mode 100644 index 0b26a2d..6e8000f --- a/Makefile +++ b/Makefile @@ -1,17 +1,24 @@ PRE = /usr/local BIN = $(PRE)/bin -PIX = $(PRE)/share/irssistats/pix -DOC = $(PRE)/doc/irssistats -MAN = $(PRE)/man/man1 +DOC = $(PRE)/share/doc/fapg +MAN = $(PRE)/share/man/man1 +CFLAGS=-Wall -g2 -funsigned-char -fapg:fapg.c - gcc -o fapg fapg.c +fapg: fapg.c + +fapg.c: genres.h + touch $@ clean: rm -f fapg -install:fapg - mkdir -p $(BIN) $(PIX) $(DOC) $(MAN) +beautify: + indent -nut -kr -ncs -nsaf -npcs -nsai -nsaw -o fapg.good.c fapg.c &&\ + mv fapg.good.c fapg.c + splint -checks fapg.c + +install: fapg + mkdir -p $(BIN) $(DOC) $(MAN) cp -f fapg $(BIN) cp -f COPYING README $(DOC) cp -f fapg.1 $(MAN)