#
# Warning: you may need more libraries than are included here on the
# build line.  The agent frequently needs various libraries in order
# to compile pieces of it, but is OS dependent and we can't list all
# the combinations here.  Instead, look at the libraries that were
# used when linking the snmpd master agent and copy those to this
# file.
#

CC=gcc


OBJS1=demo.o
TARGETS=demo 

CFLAGS=-I/usr/local/include `net-snmp-config --cflags`
BUILDLIBS=`net-snmp-config --libs`

# shared library flags (assumes gcc)

all: demo

demo: $(OBJS1)
	$(CC) -g3 -Q -o demo $(OBJS1) $(BUILDLIBS)

clean:
	rm -rf *.o 


