Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock
Commits
f86b5690
Commit
f86b5690
authored
Jun 16, 2017
by
Leonardo Solis
Browse files
modify Makefile to place binaries under ./bin
parent
eb5cb7bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
f86b5690
...
...
@@ -33,6 +33,7 @@ HOST_INC_DIR=./host/inc
HOST_SRC_DIR
=
./host/src
KRNL_DIR
=
./device
KCMN_DIR
=
$(COMMON_DIR)
BIN_DIR
=
./bin
# Host sources
OCL_SRC
=
$(
wildcard
$(OCL_SRC_DIR)
/
*
.cpp
)
...
...
@@ -121,7 +122,7 @@ endif
all
:
odock
odock
:
$(SRC)
g++
$(SRC)
$(CFLAGS)
-lOpenCL
-o
$(TARGET)
$(DEV)
$(NWI)
$(OPT)
$(DD)
$(REP)
$(KFLAGS)
g++
$(SRC)
$(CFLAGS)
-lOpenCL
-o
$(
BIN_DIR)
/
$(
TARGET)
$(DEV)
$(NWI)
$(OPT)
$(DD)
$(REP)
$(KFLAGS)
clean
:
rm
-f
$(BIN
)
initpop.txt
rm
-f
$(BIN
_DIR)
/
*
initpop.txt
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