X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile;h=3e05b6e0f6284b0e01e08a04ba430e0c192821c7;hb=8e949d021a3c4329539dd28bd884ea8b6d05fec2;hp=68a3588793991e13a2aa54f3b5cdf64730e618a7;hpb=bc19f2cfc3041990d9457165ccdfbe8b6b7c76e6;p=filters.git diff --git a/Makefile b/Makefile index 68a3588..3e05b6e 100644 --- a/Makefile +++ b/Makefile @@ -2,25 +2,25 @@ LEX = flex -ALL = jethro kraut cockney jive nyc ken ky00te -OTHER = eleet b1ff chef jibberish upside-down rasterman +BUILD = jethro kraut cockney jive nyc ken ky00te newspeak +OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd -all: $(OTHER) $(ALL) +all: $(OTHER) $(BUILD) -install: $(ALL) $(OTHER) +install: $(BUILD) $(OTHER) install -d $(PREFIX)/usr/games - install $(ALL) $(OTHER) $(PREFIX)/usr/games/ + install $(BUILD) $(OTHER) $(PREFIX)/usr/games/ install -d $(PREFIX)/usr/share/man/man6 install -m 0644 filters.6 $(PREFIX)/usr/share/man/man6 cd $(PREFIX)/usr/share/man/man6 && \ - $(foreach prog,$(ALL) $(OTHER),ln -s filters.6 $(prog).6;) + $(foreach prog,$(BUILD) $(OTHER),ln -s filters.6 $(prog).6;) -samples: $(ALL) $(OTHER) +samples: $(BUILD) $(OTHER) -rm -f SAMPLES - PATH=. echo $(ALL) $(OTHER) |xargs -n 1 sh makesample.sh + PATH=.:$$PATH; export PATH; echo $(BUILD) $(OTHER) |xargs -n 1 sh makesample.sh clean: - $(RM) -f core *.o *~ $(ALL) *.c SAMPLES + $(RM) -f core *.o *~ $(BUILD) *.c SAMPLES cd ky00te.dir && make clean .SUFFIXES: .l