GNUmakefile.in 544 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= event/sched

include $(OBJDIR)/Makeconf

all:	event-sched

include $(TESTBED_SRCDIR)/GNUmakerules

CFLAGS	 += -O -g -static -I. -I$(SRCDIR)/../lib -Wall -pthread -DDEBUG
CFLAGS   += `elvin-config --cflags vin4mt`

LDFLAGS  += -pthread -L../lib
LIBS     += -levent -lcipher 
LIBS     += `elvin-config --libs vin4mt`

OBJS	  = event-sched.o queue.o

event-sched:	$(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

$(OBJS):	event-sched.h

clean:
	/bin/rm -f *.o event-sched