# Generated automatically from Makefile.in by configure. #DEBUG = -g -DDEBUG VERSION = -DVERSION=\"1.3\" CC = cc PREFIX = /usr/local BINDIR = /usr/local/bin MANDIR = /usr/local/man/man1 DEFINES = -DHAVE_CONFIG_H ${VERSION} CFLAGS += -Wall ${DEBUG} ${DEFINES} OBJS = rename.o fixtoken.o misc.o all: rename rename: $(OBJS) $(CC) $(CFLAGS) -o $@ $^ strip $@ static: $(OBJS) $(CC) $(CFLAGS) -static -o $@ $^ .PHONY: clean clean-all install clean: rm -f core rename *.o clean-all: rm -f core rename *.o config.status config.cache config.h config.log Makefile install: install -o root -g wheel -m 0755 -s rename $(BINDIR) install -o root -g wheel -m 0644 rename.1 $(MANDIR) rename.o: rename.c rename.h regex.o: regex.c regex.h fixtoken.o: fixtoken.c misc.o: misc.c .c.o: $(CC) $(CFLAGS) -o $@ -c $<