simple/scat/GNUmakefile

18 lines
292 B
Makefile

include GNUmakevars
include GNUmakerules
all: scat $(patsubst %.msg, %.cat, $(wildcard *.msg))
scat: scat.o
scat.o: scat.c scat.h
scat.h: scat.en.msg
gencat -H scat.h -o scat.en.cat scat.en.msg
%.cat: %.msg
gencat $@ $^
clean:
rm -f *.cat *.o scat core scat.h
install: $(BINDIR)/scat