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   -   Original Discussion by jskako
Corona688's Unix or Linux Image
Corona688 Corona688 is online now Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 16 January 2018, 10:32 AM EST
Location: Saskatchewan
Posts: 22,572
Thanks: 1,163
Thanked 4,293 Times in 3,961 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 04:48 AM
Help with makefile zero3ree Shell Programming and Scripting 2 10-23-2010 09:44 PM
Makefile executing another Makefile first? wwuster UNIX for Advanced & Expert Users 0 07-20-2010 08:21 AM
Makefile problem - How to run module load in a Makefile hernandinho UNIX for Advanced & Expert Users 2 04-13-2009 11:20 AM
help with makefile explorer High Performance Computing 2 02-07-2009 02:33 PM

All times are GMT -4. The time now is 11:43 AM.