blob: a3b16cb703ae836949e400f415f2a16ea2bef698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
include @top_srcdir@/Rules.make
CFLAGS+=-Iinclude
libipulog.a: libipulog.o
ld -i $< -o $@
ulog_test: ulog_test.c libipulog.a
$(CC) $(CFLAGS) ulog_test.c libipulog.a -o ulog_test
libipulog.o: libipulog.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f ulog_test libipulog.o libipulog.a
distclean: clean
rm Makefile
|