Skip to content
Snippets Groups Projects
Makefile 406 B
Newer Older
Louise's avatar
Louise committed
#Makefile for Ether of Creatures C++ application
#Created by Louise Stella on 02/06/2017

PROG = build/ether-of-creatures
CC = g++
CPPFLAGS = -O0 -g -W -Wall -pedantic -std=c++11
OBJS = src/main.o src/jokenpo.o

$(PROG) : $(OBJS)
	$(CC)  -o $(PROG) $(OBJS)

main.o :
	$(CC) $(CPPFLAGS) -c src/main.cpp

jokenpo.o : src/monster.hpp
	$(CC) $(CPPFLAGS) -c src/jokenpo.cpp

clean: 
	rm -f core $(PROG) $(OBJS)