summaryrefslogtreecommitdiffstats
path: root/ulogd/libipulog/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge>2002-06-13 12:56:53 +0000
committerlaforge <laforge>2002-06-13 12:56:53 +0000
commitb59d7e84b7caeacd08436bbbf10c6ef875b1d8a7 (patch)
tree70d414d3169b4d4fa188a1f17f28e2e174f52413 /ulogd/libipulog/Makefile
parent93bdd78f2a6d97d4d417e37f3a8559fe6e9fcfcd (diff)
fix bug in ulog_test.c
Diffstat (limited to 'ulogd/libipulog/Makefile')
-rw-r--r--ulogd/libipulog/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/ulogd/libipulog/Makefile b/ulogd/libipulog/Makefile
index ea6b27a..55c191d 100644
--- a/ulogd/libipulog/Makefile
+++ b/ulogd/libipulog/Makefile
@@ -1,14 +1,24 @@
-CC = gcc
-CFLAGS = -I./include # -g
+# Generated automatically from Makefile.in by configure.
+#
+
+include ../Rules.make
+CFLAGS+=-Iinclude -I/usr/src/linux/include
+
+libipulog.a: libipulog.o
+ ld -i $< -o $@
+
+distrib:
ulog_test: ulog_test.c libipulog.a
$(CC) $(CFLAGS) ulog_test.c libipulog.a -o ulog_test
libipulog.o: libipulog.c
- $(CC) $(CFLAGS) -c libipulog.c -o libipulog.o
-
-libipulog.a: libipulog.o
- ld -i libipulog.o -o libipulog.a
+ $(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f ulog_test libipulog.o libipulog.a
+
+distclean: clean
+ rm Makefile
+
+install: libipulog.a