TARGET = parse_flowfile LIBS = INCLUDES = -I../include -I../../../include CFLAGS += $(INCLUDES) CC = c++ INCDIR= ${.CURDIR}/../include .PATH: ${INCDIR} SRCS = iptable.c main.c scancusts.c HDRS = iptable.h OBJS = iptable.o main.o scancusts.o all: $(TARGET) $(OBJS) install: $(TARGET) $(OBJS) cp $(TARGET) $(PREFIX)/bin clean: rm -f *.o rm -f $(TARGET) $(OBJS): $(HDRS) ctags: ctags -t *.h *.c parse_flowfile: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o parse_flowfile