|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Windows VS Project to Unix Project
I would like to move my project; well 3 projects in one solution; 2 are Client and Server with the other an interface program, from Windows Visual Studio .Net 2005 to a GNU C++ environment on a Unix platform.
Are they any way of generating a make file to build the code on the Unix system. I know only a little about Make files. I understand that Visual Studio 6.0 had an Export Makefiles facility, but this seems not to exist in the newer versions like VS 2005. Any suggestions please. Andy. |
|
#2
|
|||
|
|||
|
Re: Windows VS Project to Unix Project
Well, I don't know of any automated way to do it, but even if you had a Microsoft style makefile it would be rather different than what you would need for GNU make.
I would suggest getting a Makefile to use as a template and then going from there. Also, if you have multiple directories of source it's generally easier to have one makefile per directory. Here is a basic example for a single source file (barc.c) CC=gcc FLAGS=-g -Wall LFLAGS= TARGET=barc OBJS=barc.o all: $(TARGET) $(TARGET): $(OBJS) $(CC) $(FLAGS) $(LFLAGS) $(OBJS) -o $(TARGET) clean: rm -f $(TARGET) $(OBJS) core *.core .c.o: $(CC) $(FLAGS) -c $*.c |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Windows VS Project to Unix Project |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|