2
0

Makefile 243 B

1234567891011121314
  1. MAKEFLAGS += -R -r
  2. PERL = perl
  3. GENFILES = sysvars_gen.c sysvars_gen.h
  4. all: $(GENFILES)
  5. %_gen.c %_gen.h: %.vars ../tools/sysvars.pl
  6. $(PERL) ../tools/sysvars.pl $< $*_gen.h $*_gen.c
  7. clean:
  8. rm -rf $(GENFILES)
  9. spotless: clean