2 # Adapted for djgpp2 / Watt-32 / DOS by
3 # Gisle Vanem <giva@bgnett.no>
6 DEPEND_PREREQ = curl_config.h
9 include ../packages/DOS/common.dj
12 OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
16 # NOTE: if ../include/curl/curlbuild.h is missing, you're probably building
17 # this from a git checkout and then you need to run buildconf.bat first.
19 all: $(OBJ_DIR) curl_config.h $(CURL_LIB)
21 $(CURL_LIB): $(OBJECTS)
24 curl_config.h: config.dos
27 # clean generated files
30 - $(DELETE) curl_config.h
32 # clean object files and subdir
35 - $(DELETE) $(OBJ_DIR)$(DS)*.o
38 # clean without removing built library
45 realclean vclean: clean
46 - $(DELETE) $(CURL_LIB)