#
# Makefile for CGIWrap
# Don't change this file, it will be replaced by Makefile.SH
#

#
# Other Compiler Flags
#
CC= gcc
CCDEBUG= -O
CCFLAGS=  
LDFLAGS=  
LIBS=   

#
# Object Files
#
OBJS=cgiwrap.o debug.o util.o fetch.o stdutil.o

#
# Dependencies and rules
#
all: cgiwrap

.c.o: cgiwrap.h config.h Makefile
	$(CC) $(CCDEBUG) -c $(CCFLAGS) $<

cgiwrap: $(OBJS)
	$(CC) $(OBJS) $(LDFLAGS) $(LIBS) -o cgiwrap

clean:
	rm -f *.o *.tar cgiwrap.cat cgiwrap core

realclean:
	rm -f Makefile cppstdin Wanted config.h 

reconf: clean
	./Configure -S

remake: reconf all

