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/version/Makefile

33 lines
546 B
Makefile

include ../../Makefile.inc
INCLUDES = -I../.. -I../../adns
SOURCES= version.c
OBJECTS= version.o
TARGET= version.so
DISTFILES= $(SOURCES) Makefile
all: version
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -c $<
version: $(OBJECTS)
$(LD) $(MODLDFLAGS) -o $(TARGET) $(LIBS) $(OBJECTS)
clean:
/bin/rm -rf ../$(TARGET)
/bin/rm -rf *.o *.lo *.so
install: version
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)/dl
dist: $(DISTFILES)
@for files in $(DISTFILES); do \
cp $$files $(distdir)/$$files; \
done
$(OBJECTS): Makefile
version.o: version.c