Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers


UNIX for Dummies Questions & Answers

linking, makefile, translating, unix

Thread Tools Search this Thread Display Modes
Old Unix and Linux 11-05-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 25 October 2016, 12:35 PM EDT
Location: Saskatchewan
Posts: 21,560
Thanks: 999
Thanked 3,958 Times in 3,678 Posts
The only lines which actually do anything are

FLAGS=-O2 -Wall
FILES=primjer1.c primjer2.c primjer3.c
all:primjer1.c primjer1.c primjer3.c
        gcc $(FLAGS) $(FILES) -o program

Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with Simple Multi-Level Makefile (Extremely New at Makefile) Tatl Homework & Coursework Questions 1 03-09-2011 03:48 AM
Help with makefile zero3ree Shell Programming and Scripting 2 10-23-2010 08:44 PM
Makefile executing another Makefile first? wwuster UNIX for Advanced & Expert Users 0 07-20-2010 07:21 AM
Makefile problem - How to run module load in a Makefile hernandinho UNIX for Advanced & Expert Users 2 04-13-2009 10:20 AM
help with makefile explorer High Performance Computing 2 02-07-2009 01:33 PM

All times are GMT -4. The time now is 01:23 PM.