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
@@ -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 " $<