MakeFile - Page 2 | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

MakeFile

UNIX for Dummies Questions & Answers


Tags
linking, makefile, translating, unix

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #8  
Old 11-05-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 10 July 2014, 6:20 PM EDT
Location: Saskatchewan
Posts: 18,893
Thanks: 733
Thanked 3,115 Times in 2,930 Posts
The only lines which actually do anything are


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

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:27 PM.