Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
sapl-interpreter
Commits
b64d0b30
Commit
b64d0b30
authored
Aug 30, 2015
by
Jurriën Stutterheim
Browse files
Add Makefile for Mac OS X
parent
2adde4a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
interpreter/Makefile.macosx
0 → 100644
View file @
b64d0b30
TARGET
=
main
LIBS
=
CC
=
clang++
CFLAGS
=
-g
-x
c++
-Wno-write-strings
# -fstack-usage
.PHONY
:
default all clean
default
:
$(TARGET)
all
:
default
OBJECTS
=
$(
patsubst
%.c, %.o,
$(
wildcard
*
.c
))
HEADERS
=
$(
wildcard
*
.h
)
%.o
:
%.c $(HEADERS)
$(CC)
$(CFLAGS)
-c
$<
-o
$@
.PRECIOUS
:
$(TARGET) $(OBJECTS)
$(TARGET)
:
$(OBJECTS)
$(CC)
$(OBJECTS)
-Wl
,-stack_size,0x1000000
-g
-Wall
$(LIBS)
-o
$@
clean
:
-
rm
-f
*
.o
-
rm
-f
$(TARGET)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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