repo.or.cz
/
rice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added -pedantic and -ansi to CFLAGS and cleaned warnings
[rice.git]
/
examples
/
simpleec
/
Makefile
blob
a1454ab5316d1cfbbbf55d9ab7428da7395543c3
1
PROGRAM
=
simpleec
2
CFLAGS
=-
O2
-
g
-
Wall
3
LDFLAGS
=
4
INCLUDES
=-
I..
/
..
/
include
5
LIBS
=-
L..
/
..
-
lrice
-
lm
6
SOURCES
= $(
shell
find .
-
name
'*.c'
)
7
CC
=
gcc
8
9
$(
PROGRAM
): $(
SOURCES
)
10
$(
CC
) $+ -
o
$
@
$(
CFLAGS
) $(
INCLUDES
) $(
LDFLAGS
) $(
LIBS
)
11
12
clean
:
13
rm
-
f
*
.o
$(
PROGRAM
) *
~