
#
# Makefile for view subdirectory
#
# This file is part of K WebTree
#
# K WebTree 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.
#
# K WebTree is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with K WebTree; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#


SOURCES	= http.c
SRCMETA	= 

OBJECTS = http.o
OBJMETA	= 

TARGET	= http.o

CC	= gcc

.SUFFIXES: .c .deps

.c.o: 
	$(CC) -c $(CFLAGS) $(INC_DIRS) $<

all:    $(TARGET)


#$(TARGET): $(OBJECTS) $(OBJMETA)
#	$(AR) -rs $@ $?


.deps: $(SRCMETA)
	@makedepend -I$(INC_DIRS) $(SOURCES) $(SRCMETA) -f- >.deps 2>/dev/null


clean:  
	-rm -f core .deps
	-rm -f *.o *.bak *BAK *~ *% #*
	-rm -f $(SRCMETA) $(TARGET)

$(SRCMETA): m%.cpp : %.h
	$(MOC) $< -o $@

include .deps
