Reviewed by Timothy.
[WebKit-https.git] / WebKitTools / mangleme / Makefile
1 #
2 # HTML manglizer
3 # --------------
4 # Copyright (C) 2004 by Michal Zalewski <lcamtuf@coredump.cx>
5 #
6 # Makefile adapted for WebKit project.
7
8 CC = gcc
9 CFLAGS = -Wall -O3 -fomit-frame-pointer -funroll-loops
10 OUTDIR = ../../WebKitBuild/mangleme
11
12 all: $(OUTDIR)/mangle.cgi $(OUTDIR)/remangle.cgi
13
14 $(OUTDIR)/%.cgi: %.cgi.c
15         if [ ! -d $(OUTDIR) ]; then mkdir -p $(OUTDIR); fi
16         $(CC) $(CFLAGS) $< -o $(OUTDIR)/$*.cgi