-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
executable file
·31 lines (23 loc) · 873 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Project name: Food collection
# Version 4
# Student : Albert Eduard Merino Pulido
# The compiler: gcc for C program, define as g++ for C++
CC = g++
# Compiler flags:
CFLAGS = -lglut -lGLU -lGL -lm -ljpeg -Wall -lpthread -g
# Files to compile
CFILES = main.cpp graphics.cpp textureLoader.cpp arduinoSerial.cpp game.cpp \
strategy.cpp approximateQAgent.cpp pacmanQAgent.cpp expectimaxAgent.cpp \
reflexAgent.cpp agent.cpp map.cpp cell.cpp particle.cpp enums.h \
drawer.cpp jsoncpp.cpp
# Files' headers
HFILES = graphics.h textureLoader.h arduinoSerial.h game.h strategy.h \
pacmanQAgent.h approximateQAgent.h expectimaxAgent.h reflexAgent.h \
agent.h map.h cell.h particle.h drawer.h
# The build target executable:
TARGET = food_collector
ALL : $(TARGET)
$(TARGET): $(CFILES) $(HFILES)
$(CC) $(CFILES) -o $(TARGET) $(CFLAGS)
clean:
$(RM) $(TARGET)