Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
LabComm
Commits
598b1368
Commit
598b1368
authored
Jan 19, 2015
by
Sven Gestegård Robertz
Browse files
hacked twoway makefile for OS X
parent
df8c6467
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/twoway/Makefile
View file @
598b1368
UNAME_S
=
$(
shell
uname
-s
)
TARGETS
=
client server
LABCOMM_JAR
=
../../compiler/labcomm_compiler.jar
LABCOMM
=
java
-jar
$(LABCOMM_JAR)
include
../../lib/c/os_compat.mk
CFLAGS
+=
-I
../../lib/c/2014
-I
.
CFLAGS
=
-O3
-g
-Wall
-Werror
-I
../../lib/c/2014
-I
.
-Wno-unused-function
ifeq
($(UNAME_S),Darwin)
CFLAGS
+=
-DLABCOMM_COMPAT
=
\"
labcomm_compat_osx.h
\"
-DLABCOMM_OS_DARWIN
=
1
-Wno-tautological-compare
endif
all
:
$(TARGETS:%=gen/%)
...
...
Write
Preview
Supports
Markdown
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