Bash Configuration Files and Makefiles

Following are some nice lecture slides about various bash configuration files, such as .profile, .bash_profile, .bashrc etc.

 

Bash Configurations Demystified

A few tutorials on make files are in order.

Makefiles

 

This is a good make file tour, I am somehow having trouble embedding it.

 

No Title

The most simple Makefile for compiling a C (or C++) program from a single .c file, with make and make clean rules, looks something like this (remember to add a TAB character before the command part): # build an executable named myprog from myprog.c all: myprog.c gcc -g -Wall -o

 

Java and Makefiles

Yes you can write and use makefiles to build java applications. If you have never used Makefiles, first read the Makefile basics documentation. Below is a more complicated example Makefile for a java program (it is harder to read, but easier to use and modify in this form).

Java Makefile Examples

Java Makefile Examples

 

Photo by Tambako the Jaguar

If you found an error, highlight it and press Shift + Enter or click here to inform us.

CC BY-NC-ND 4.0 Bash Configuration Files and Makefiles by Psyops Prime is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Leave a Reply