[Anjuta-list] Compiling Programms with cygwin and mingw



Hi people,

i have tryed to write just for fun something like bomberman. The
program works fine on Linux. but i have got some trouble compiling it
later for Windows.

how can i add in Anjuta something in the Configre file that it will
check for MinGW and Cygwin so it would link my program with " -liberty
" so i have random functions.

i hope someone could help.. the other is with the cygwin/mingw i get
some problems with the makefile.. i get errors in with lines:

oky thats all for now.. i hope someone can help


distclean-depend:
	-rm -rf ./$(DEPDIR)

.c.o:
@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF
"$(DEPDIR)/$*.Tpo" \ am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo
'$(srcdir)/'`$<; \ am__fastdepCC_TRUE@	then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po";
\ am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no \
@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' \ am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) \
@am__fastdepCC_FALSE@	$(COMPILE) -c `test -f '$<' || echo
'$(srcdir)/'`$<

.c.obj:
@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF
"$(DEPDIR)/$*.Tpo" \ am__fastdepCC_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W)
'$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ am__fastdepCC_TRUE@	then mv
"$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo";
exit 1; \ am__fastdepCC_TRUE@	fi
@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no \
@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' \ am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) \
@am__fastdepCC_FALSE@	$(COMPILE) -c `if test -f '$<'; then
$(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
uninstall-info-am:



--

Steffen Pohle   (stpohle gmx net)
http://stpohle.bei.t-online.de
JabberID: stpohle amessage de
ICQ: 370965 Yahoo: stpohle
MSN: stpohle hotmail com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]