# Copyright (C) 2004 Jens Vehlhaber # # Last Update: $Id$ # # This is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2, or (at your option) any later # version. # CC = gcc CFLAGS += -Wall -Wno-sequence-point STRIP = strip -R .note -R .comment TARGET = filelist OBJS = filelist.o escfunct.o fltools.o all: $(TARGET) $(STRIP) $(TARGET) filelist: $(OBJS) $(CC) $(CFLAGS) -o filelist $(OBJS) filelist.o: Makefile filelist.c escfunct.h fltools.h $(CC) $(CFLAGS) -c filelist.c escfunct.o: Makefile escfunct.h escfunct.c $(CC) $(CFLAGS) -c escfunct.c replacer.o: Makefile fltools.h fltools.c $(CC) $(CFLAGS) -c replacer.c clean: rm -f *~ filelist *.o core