-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakeMac.mk
More file actions
41 lines (34 loc) · 1.36 KB
/
makeMac.mk
File metadata and controls
41 lines (34 loc) · 1.36 KB
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
32
33
34
35
36
37
38
39
40
41
#
# Makefile for MacOS platforms using the SFML Frameworks
#
# Created By: David J Tinley
# For: movement-disorders/therappeye application by https://github.com/luisgizirian
#
# Last Updated: 08/09/2023
#
# Variables
CXX = clang++
CXX_FLAGS = -g -Wall -std=c++17
FRAMEWORK = -F /Library/Frameworks
FRAMEWORK_OPTS = -framework sfml-window -framework sfml-graphics -framework sfml-system
# Message ##############################################################################
msg:
@echo 'Makefile for MacOS using SFML frameworks.'
@echo 'Use command "make therappeye -f makeMac.mk" to compile therappeye for MacOS.'
#########################################################################################
# Compile therappeye ####################################################################
therappeye: slide.o engine.o main.o
${CXX} ${CXX_FLAGS} slide.o engine.o main.o -o therappeye ${FRAMEWORK} ${FRAMEWORK_OPTS}
slide.o:
${CXX} ${CXX_FLAGS} -c src/slide.cpp
engine.o:
${CXX} ${CXX_FLAGS} -c src/engine.cpp
main.o:
${CXX} ${CXX_FLAGS} -c src/main.cpp
#########################################################################################
# clean folder ##########################################################################
clean:
rm -f *.o
rm -rf *.dSYM/
rm -f therappeye
#########################################################################################