webengine/osswebengine/WebKitTools/mangleme/Makefile
author William Roberts <williamr@symbian.org>
Fri, 25 Jun 2010 18:06:10 +0100
branchGCC_SURGE
changeset 82 1c386166cb87
parent 0 dd21522fd290
permissions -rw-r--r--
Speculative fix for npapi.h compilation problem - Bug 1680 If this API is being used, then this ought to flush out the clients...

#
# HTML manglizer
# --------------
# Copyright (C) 2004 by Michal Zalewski <lcamtuf@coredump.cx>
#
# Makefile adapted for WebKit project.

CC = gcc
CFLAGS = -Wall -O3 -fomit-frame-pointer -funroll-loops
OUTDIR = ../../WebKitBuild/mangleme

all: $(OUTDIR)/mangle.cgi $(OUTDIR)/remangle.cgi

$(OUTDIR)/%.cgi: %.cgi.c
	if [ ! -d $(OUTDIR) ]; then mkdir -p $(OUTDIR); fi
	$(CC) $(CFLAGS) $< -o $(OUTDIR)/$*.cgi