# ------------------------------------------------- # # CEKIP # # IP Address Finder Library to DJGPP. # # Copyright (c) 2000 by Cristian EmmericK (CEK) # # E-mail: cek@mailbr.com.br # # ICQ(UIN): 52438873 # # ------------------------------------------------- # -------- variables and definitions -------------- LIB = lib/libcekip.a LIBDEST = $(DJDIR)/$(LIB) INCDEST = $(DJDIR)/include/ CPLIBDEST = $(subst /,\,$(LIBDEST)) CPINCDEST = $(subst /,\,$(INCDEST)) RM = rm -v -f FLAGS =-m386 -O3 # -------- Rules start here ----------------------- all : msg $(LIB) install examples @echo @echo DONE. If you want to unistall CEKIP type: make uninstall @echo install : $(LIBDEST) @echo $(LIBDEST) : $(LIB) @echo Copying lib to DJGPPs directory... copy lib\libcekip.a $(CPLIBDEST) uninstall : $(RM) $(LIBDEST) $(RM) $(INCDEST)cekani.h examples : examples/ex01.exe examples/ex01.exe : examples/ex01.c $(LIB) gcc $(FLAGS) -o examples/ex01.exe examples/ex01.c $(LIB) -s clean: $(RM) examples/*.exe msg : @echo Making CEKIP, Please wait...