repo.or.cz
/
EconoBoard.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Built a new make system (still kind of hacky), and added some argument
[EconoBoard.git]
/
src
/
sandbox
/
Makefile
blob
76e36c79844bd411c67b9189a8ae4aefa15b2a11
1
BINARY
=
..
/
..
/
bin
/
sandbox
2
SOURCE
=$(
wildcard
*
.c
)
3
OBJECTS
=$(
patsubst
%
.c
, %
.o
, $(
SOURCE
))
4
5
CFLAGS
=-
I
/
usr
/
include
/
opencv
6
LDFLAGS
=-
lm
-
lcv
-
lhighgui
-
lcvaux
7
8
all
: $(
BINARY
)
9
10
$(
BINARY
): $(
OBJECTS
)
11
$(
CXX
) $(
CFLAGS
) -
o
$
@
$
^
$(
LDFLAGS
)
12
13
clean
:
14
$(
RM
) $(
OBJECTS
) $(
BINARY
)