(SDU Logo) Institut for Matematik og Datalogi
Syddansk Universitet Institut for Matematik og Datalogi

Compiler (project and theory) 2011

Files from the exercises

Custom Makefile in Eclipse and Netbeans

It might be a good idea to manage the Makefile of a project manually, instead of letting the IDE do it. One way of changing the project is described below. (let me know of any errors)

Eclipse

  1. Go to Properties for the project (alt + enter) and select C/C++ Build
  2. Uncheck "Generate Makefiles automatically", and change the Build directory to the root of the project folder.
  3. Create a makefile called "Makefile" in the root of the project.>/li>
The old build folders should be safe to delete now.

Netbeans

  1. Go to Properties for the project.
  2. In the build screen, change the Configuration type to Makefile.
  3. Change Makefile in the project root folder, and delete old generated build files.

Subversion stuff

Guide for setting up a Subversion repo. in the IMADA system: SVN guide.
A SVN plugin exists in Netbenas in the standard installation.

Installing Subclipse in Eclipse 3.5

  1. In Eclipse, go to Help, Install New Software
  2. Press Add and use "Subclipse" as name and "http://subclipse.tigris.org/update_1.6.x" as location.
  3. Press OK, and mark Subclipse in the list. Press Next a few times and accept the license aggreement.