#!/usr/bin/bash GWCFLAGS = -I/mingw/include ${CFLAGS} GWLFLAGS = -L/mingw/lib ${LFLAGS} x86_64-w64-mingw32-gcc -I/mingw/include ${GWCFLAGS} -o $1 $1.c $2 $3 $4 $5 $6 $7 $8 $9 -Wl,--subsystem,windows ${GWLFLAGS} -lcpgplot -lpgplot -lGrWin -mwindows