##  $Id: Makefile,v 1.11 2001/06/29 21:45:55 rra Exp $

include ../../Makefile.global

CFLAGS	= $(GCFLAGS) -I../../include -I..

SOURCES = trash.c
OBJECTS = trash.o
LOBJECTS = trash.lo
ROBJECTS = trash.$(EXTOBJ)

.SUFFIXES: .lo

all:			$(OBJECTS)

.c.o .c.lo:
	$(UPLIBCC) $(CFLAGS) -c $*.c -o $@

clobber clean:
	rm -f *.o *.lo obj/*.o profiled
	rm -rf .libs

tags ctags:	$(SOURCES)
	$(CTAGS) $(SOURCES) ../../include/*.h ../*.h

##  Dependencies.  Default list, below, is probably good enough.

depend:	Makefile $(SOURCES)
	$(UPMAKEDEPEND) $(CFLAGS) $(SOURCES)

# DO NOT DELETE THIS LINE -- make depend depends on it.
trash.o: trash.c ../../include/config.h ../../include/inn/defines.h \
 ../../include/clibrary.h ../../include/libinn.h ../methods.h
