1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00
Files
nmap/libnetutil/Makefile.in
2010-09-15 01:33:40 +00:00

42 lines
635 B
Makefile

top_srcdir = @top_srcdir@
srcdir = @srcdir@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@ $(DEFS)
DEFS = @DEFS@
DEFS += -D_FORTIFY_SOURCE=2
AR = ar
RANLIB = @RANLIB@
LIBDNETDIR = @LIBDNETDIR@
LIBPCAPDIR = @libpcapdir@
TARGET = libnetutil.a
SRCS = $(srcdir)/netutil.cc
OBJS = netutil.o
all: $(TARGET)
$(TARGET): $(OBJS)
rm -f $@
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
clean:
rm -f $(OBJS) $(TARGET)
distclean: clean
rm -rf Makefile
Makefile: Makefile.in
cd $(top_srcdir) && ./config.status
.cc.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
makefile.dep:
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
include makefile.dep