From a93a69380dc6718c49879af628ed69f8e2b70797 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 22 Dec 2008 18:10:47 -0500 Subject: rebase events to tevent and align to upstream --- tevent/rules.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tevent/rules.mk (limited to 'tevent/rules.mk') diff --git a/tevent/rules.mk b/tevent/rules.mk new file mode 100644 index 000000000..6fd990fbf --- /dev/null +++ b/tevent/rules.mk @@ -0,0 +1,21 @@ +.SUFFIXES: .i _wrap.c + +.i_wrap.c: + $(SWIG) -O -Wall -python -keyword $< + +showflags:: + @echo 'libtevent will be compiled with flags:' + @echo ' CFLAGS = $(CFLAGS)' + @echo ' CPPFLAGS = $(CPPFLAGS)' + @echo ' LDFLAGS = $(LDFLAGS)' + @echo ' LIBS = $(LIBS)' + +.SUFFIXES: .c .o + +.c.o: + @echo Compiling $*.c + @mkdir -p `dirname $@` + @$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@ + +distclean:: + rm -f *~ */*~ -- cgit