X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=Makefile;h=dc57f3d07d640ffcaf578c317519318f00800a48;hb=331602985a9b73157dfba5ceffd2c257e078c197;hp=bbe616ac520024ca5c70c81998004b3c91fde38d;hpb=6c76799c7334a12926dc1cf0c32670423cbc954f;p=dss.git diff --git a/Makefile b/Makefile index bbe616a..dc57f3d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: dss man: dss.1 DEBUG_CFLAGS ?= -DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W +DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef DEBUG_CFLAGS += -Wredundant-decls CFLAGS ?= CFLAGS += -Os @@ -30,10 +30,8 @@ cmdline.o: cmdline.c cmdline.h %.o: %.c Makefile $(CC) -c $(CFLAGS) $(DEBUG_CFLAGS) $< -%.ppm: %.sk - sk2ppm $< > $@ -%.png: %.ppm - convert $< $@ +%.png: %.dia + dia -e $@ -t png $< cmdline.c cmdline.h: dss.ggo gengetopt --conf-parser < $< @@ -45,7 +43,7 @@ dss.1: dss dss.1.inc man2html $< > $@ clean: - rm -f *.o dss dss.1 dss.1.html Makefile.deps *.ppm *.png *~ cmdline.c cmdline.h index.html + rm -f *.o dss dss.1 dss.1.html Makefile.deps *.png *~ cmdline.c cmdline.h index.html index.html: dss.1.html index.html.in INSTALL README NEWS sed -e '/@README@/,$$d' index.html.in > $@