added output var to makefile

This commit is contained in:
ronitsinha
2023-07-22 23:28:31 -04:00
parent de6071baba
commit b314ea095f

View File

@@ -1,11 +1,12 @@
CXX = g++
CXXFLAGS = -Wall -Wextra -Wpedantic -Wshadow
OUTPUT = range_randomizer
all: main
main: clean
$(CXX) ${CXXFLAGS} util.cpp pokedatastructure.cpp \
romprocessor.cpp main.cpp -o range_randomizer
romprocessor.cpp main.cpp -o ${OUTPUT}
clean:
rm -f range_randomizer
rm -f range_randomizer *.exe