simple/scat/GNUmakefile

27 lines
430 B
Makefile
Raw Normal View History

include GNUmakevars
1999-08-01 20:09:10 +02:00
all: scat $(patsubst %.msg, %.cat, $(wildcard *.msg))
scat: scat.o
scat.o: scat.c scat.h
scat.h: scat.en.msg
1999-09-12 00:04:15 +02:00
gencat -H scat.h -o scat.en.cat scat.en.msg
%.cat: %.msg
gencat $@ $^
clean:
1999-09-12 00:01:59 +02:00
rm -f *.cat *.o scat core scat.h
2016-07-05 22:27:38 +02:00
distclean: clean
rm -f GNUmakerules GNUmakevars
1999-09-12 00:01:59 +02:00
install: $(BINDIR)/scat
2007-02-27 09:39:04 +01:00
GNUmakevars: GNUmakevars.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.sh
sh ./$^ > $@
include GNUmakerules