Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
krkane
/
Rüütli Vaev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
085298db
authored
Mar 20, 2024
by
gerann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile
parent
33f6c6c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
Source/Makefile
Source/Makefile
View file @
085298db
...
@@ -13,9 +13,9 @@ CFLAGS = $(STD) -Wall -Wextra -Wconversion -g -Wno-implicit-function-declaration
...
@@ -13,9 +13,9 @@ CFLAGS = $(STD) -Wall -Wextra -Wconversion -g -Wno-implicit-function-declaration
all
:
game
all
:
game
game
:
main.o
gameBase
.o
game
:
main.o
gameBase.o loader
.o
@
echo
"Linking and producing the final application"
@
echo
"Linking and producing the final application"
$(CC)
-o
$(CFLAGS)
main.o gameBase.o
-o
game
$(CC)
-o
$(CFLAGS)
main.o gameBase.o
loader.o
-o
game
@
chmod +x game
@
chmod +x game
main.o
:
main.c Header.h
main.o
:
main.c Header.h
...
@@ -23,7 +23,13 @@ main.o: main.c Header.h
...
@@ -23,7 +23,13 @@ main.o: main.c Header.h
gameBase.o
:
gameBase.c Header.h
gameBase.o
:
gameBase.c Header.h
$(CC)
$(CFLAGS)
-c
gameBase.c
$(CC)
$(CFLAGS)
-c
gameBase.c
loader.o
:
loader.c Header.h
$(CC)
$(CFLAGS)
-c
loader.c
clean
:
clean
:
@
echo
"Removing everything but the source files!"
@
echo
"Removing everything but the source files!"
rm main.o gameBase.o game
rm main.o gameBase.o loader.o game
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment