Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
d7ca18f4
Commit
d7ca18f4
authored
Nov 21, 2010
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://vo20.nl/home/git/repos/uva
parents
bcae32ba
25ed9b69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
os/ass4/Makefile
os/ass4/Makefile
+13
-6
No files found.
os/ass4/Makefile
View file @
d7ca18f4
PROG
=
philosophers
PROG
=
ass4
CC
=
gcc
CC
=
gcc
CFLAGS
=
-ansi
-Wall
-Wextra
-O3
-pthread
CFLAGS
=
-std
=
c99
-pedantic
-Wall
-Wextra
-D_GNU_SOURCE
# -D_POSIX_SOURCE
OFILES
=
host.o
LFLAGS
=
-lpthread
OFILES
=
main.o
RM
=
rm
-f
RM
=
rm
-f
ifdef
DEBUG
CFLAGS
+=
-ggdb
else
CFLAGS
+=
-O3
endif
$(PROG)
:
$(OFILES)
$(PROG)
:
$(OFILES)
$(CC)
-o
$(PROG)
$(OFILES)
$(CFLAG
S)
$(CC)
$(CFLAGS)
$(LFLAGS)
-o
$@
$(OFILE
S)
%.o
:
%.c
%.o
:
%.c
$(CC)
-c
$<
$(CFLAGS)
$(CC)
$(CFLAGS)
-o
$@
-c
$<
clean
:
clean
:
$(RM)
*
.o
$(PROG)
$(RM)
$(OFILES)
$(PROG)
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