webengine/osswebengine/WebKitTools/mangleme/Makefile
author Dario Sestito <darios@symbian.org>
Wed, 20 May 2009 15:39:56 +0100
changeset 9 1522fa132b86
parent 0 dd21522fd290
permissions -rw-r--r--
Added package_definition.xml with no systemBuild section and with paths including /sf/ level

#
# 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