GCC=gcc
OPTS= -O3 -DZASKAR -Dpanic=printf -Dckfree=free -Dckalloc=malloc -Dckrealloc=realloc -DHAVE_CONFIG_H -Ihyper -Icommon -Imisc -Icpp/cpplib -I.  
OBJS_DIR=release.lnx
LDFLAGS=-s

all: ${OBJS_DIR} ../bin/cbrowser

include Makefile.common

${OBJS_DIR}:
	mkdir ${OBJS_DIR}

../bin:
	mkdir ../bin
	
../bin/cbrowser: ../bin ${OBJS}
	${GCC} ${OBJS} ${LDFLAGS} -o $@


clean:
	rm -f ../bin/cbrowser 
	rm -f ${OBJS}
