tests/build.sh
author etisserant
Tue, 28 Aug 2007 08:42:54 +0200
changeset 54 66925599259a
parent 44 3fb449ba9a72
child 55 8b7a21820737
permissions -rwxr-xr-x
Updated Makefile to allow compilation with mingw32
#!/bin/bash

STFILE=$1

shift

CFLAGS=$*

../iec2cc $STFILE -I ../lib 
#2>/dev/null

gcc -I ../lib -c STD_RESSOURCE.c $CFLAGS

gcc -I ../lib -c  STD_CONF.c $CFLAGS

gcc -I ../lib main.c STD_CONF.o STD_RESSOURCE.o $CFLAGS -l rt -o test