Descent3/legacy/inetfile/Makefile
Louis Gombert b0f7dc1437 Add D3 utilities source (from kevinbentley/add-missing)
Kevin Bentley <kevin.bentley@gmail.com>
2024-04-20 18:33:12 +02:00

24 lines
459 B
Makefile

include ../../default.mak
OBJS = CFtp.o Chttpget.o inetgetfile.o
REFS = CFtp.cpp Chttpget.cpp inetgetfile.cpp
#OBJS = lnxinetfile.o
#REFS = lnxinetfile.cpp
LIBNAME = inetfile.a
all: depall $(OBJS)
ar r $(LIBNAME) $(OBJS)
ranlib $(LIBNAME)
depall:
$(CC) -E -M $(CFLAGS) $(DEFINES) $(REFS) > .depend
clean:
rm -f $(OBJS) *~ $(LIBNAME) core
%.o: %.cpp
$(CC) $(CFLAGS) $(DEFINES) -c $< -o $@
ifeq (.depend,$(wildcard .depend))
include .depend
endif