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
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
Get step-by-step solutions from verified subject matter experts
