This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
ferrite
mirror of
https://github.com/brettlangdon/ferrite.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
use more better Makefile
master
Brett Langdon
13 years ago
parent
0a72ba145c
commit
d84e8da7f7
1 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-2
Makefile
+ 6
- 2
Makefile
View File
@ -4,8 +4,11 @@ CC=gcc
default
:
fast
-
cache
fast-cache
:
$(
CC
)
$(
CFLAGS
)
./src/main.c -o
$@
$(
LFLAGS
)
src/%.o
:
src
/%.
c
src
/%.
h
$(
CC
)
-c
$(
CFLAGS
)
-o
$@
$<
fast-cache
:
./
src
/
util
.
o
./
src
/
queue
.
o
./
src
/
proxy
.
o
./
src
/
handlers
.
o
./
src
/
main
.
o
$(
CC
)
$(
CFLAGS
)
-o
$@
$^
$(
LFLAGS
)
debug
:
make -f Makefile
EXTRA_CFLAGS
=
"-g"
@ -14,4 +17,5 @@ run:
./fast-cache
clean
:
rm ./src/*.o
rm ./fast-cache
Write
Preview
Loading…
Cancel
Save