This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
NeoStats/dl/netinfo/Makefile
fishwaldo 48f9c4474f Makefile updates (include adns directory)
Version module ported to new core
2002-07-30 05:25:05 +00:00

29 lines
452 B
Makefile

include ../../Makefile.inc
INCLUDES = -I../.. -I../../adns
SOURCES= netinfo.c
OBJECTS= netinfo.o
TARGET= netinfo.so
all: netinfo
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -c $<
netinfo: $(OBJECTS)
$(LD) $(MODLDFLAGS) -o $(TARGET) $(LIBS) $(OBJECTS)
/bin/cp $(TARGET) ../
clean:
/bin/rm -rf ../$(TARGET)
/bin/rm -rf *.o *.lo *.so
install: netinfo
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)/dl
$(OBJECTS): Makefile
netinfo.o: netinfo.c ni_help.c