projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove @EAP_LDFLAGS@, no longer exists
[mech_eap.git]
/
libeap
/
src
/
lib.rules
diff --git a/libeap/src/lib.rules
b/libeap/src/lib.rules
new file mode 100644
(file)
index 0000000..
b260d25
--- /dev/null
+++ b/
libeap/src/lib.rules
@@ -0,0
+1,21
@@
+ifndef CC
+CC=gcc
+endif
+
+ifndef CFLAGS
+CFLAGS = -MMD -O2 -Wall -g
+endif
+
+CFLAGS += -I.. -I../utils
+
+
+Q=@
+E=echo
+ifeq ($(V), 1)
+Q=
+E=true
+endif
+
+%.o: %.c
+ $(Q)$(CC) -c -o $@ $(CFLAGS) $<
+ @$(E) " CC " $<