# Makefile for Salmon, a test of the 'exec' functions
#           -  Invoke using "gmake"
# Mahlon R. Smith, The Software Samurai
# Tools: G++ / Gcc 9.0.1 for Linux (Fedora 30)
# 27-Sep-2019

# This variable is defined for technical reasons
# (see 'make' documentation for more information)
.RECIPEPREFIX = >

# Files for Salmon Application
HFILES = GlobalDef.hpp 
OFILES = Salmon.o 

# Standard compile
COMPILE = g++ -x c++ -std=gnu++11 -Wall -c


#** Build the Salmon Application **
salmon: $(OFILES)
> g++ -o salmon $(OFILES)

Salmon.o: Salmon.cpp $(HFILES)
> $(COMPILE) Salmon.cpp

