projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Foo
[l2tpns.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
3fbe7db
..
18be310
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
etcdir = $(PREFIX)/etc/l2tpns
libdir = $(PREFIX)/usr/lib/l2tpns
CC = gcc
libdir = $(PREFIX)/usr/lib/l2tpns
CC = gcc
-CFLAGS=-Wall -g -O
2
+CFLAGS=-Wall -g -O
3 -funroll-loops -fomit-frame-pointer -finline-functions
LDFLAGS =
LIBS = -lm -ldl -lcli
INSTALL = /usr/bin/install -c
LDFLAGS =
LIBS = -lm -ldl -lcli
INSTALL = /usr/bin/install -c
@@
-60,3
+60,5
@@
install: all
%.so: %.c
$(CC) -fPIC -shared -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBPATH)
%.so: %.c
$(CC) -fPIC -shared -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBPATH)
+%.o: %.c l2tpns.h
+ $(CC) -c -o $@ $< $(CFLAGS)