#!/bin/sh

CC="gcc"
CFLAGS="-Wall -Wextra -pedantic -O2 -std=gnu89"

$CC $CFLAGS frontend/gophermap.c -o frontend/gophermap.cgi
$CC $CFLAGS frontend/down/gophermap.c -o frontend/down/gophermap.cgi
$CC $CFLAGS frontend/list/gophermap.c -o frontend/list/gophermap.cgi
$CC $CFLAGS frontend/rnd/gophermap.c -o frontend/rnd/gophermap.cgi

cd gopherjoker
make
cd ..
