Question: Forgot how to make a makefile. Please help X makefile - SciTE File Edit Search View Tools Options Language Buffers 1 makefile 1 CC=C++ 2

Forgot how to make a makefile. Please help Forgot how to make a makefile. Please help X makefile - SciTE

X makefile - SciTE File Edit Search View Tools Options Language Buffers 1 makefile 1 CC=C++ 2 CFLAGS=-C-9-00 -std=cHll -Wall 3 LDFLAGS= 4 SOURCES=gaspump.cpp proj2.cpp 5 OBJECTS=$(SOURCES: .cpp= 0) 6 EXECUTABLE=proj2 7 8 all: $ (SOURCES) $ (EXECUTABLE) 9 10 $ (EXECUTABLE); $(OBJECTS) 11 $ (CC) $ (LDFLAGS) $ (OBJECTS) -0 $@ 12 13 .cpp.o: 14 $ (CC) $ (CFLAGS) $ - $@ 15 16 clean: 17 rm -f core $(EXECUTABLE) $ (OBJECTS)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!