Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / lib / makefile.dj
blobba82a9821e28cf8e3ef10e10d0ce9c53dee3c80c
2 #  Adapted for djgpp2 / Watt-32 / DOS by
3 #  Gisle Vanem <giva@bgnett.no>
5 # $Id: makefile.dj,v 1.13 2008-08-21 13:51:07 giva Exp $
7 DEPEND_PREREQ = config.h
8 TOPDIR = ..
10 include ../packages/DOS/common.dj
12 # Makefile.inc provides the CSOURCES and HHEADERS defines
13 include Makefile.inc
15 OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
17 CURL_LIB = libcurl.a
19 all: $(OBJ_DIR) ../include/curl/curlbuild.h config.h $(CURL_LIB)
21 $(CURL_LIB): $(OBJECTS)
22         ar rs $@ $?
24 config.h: config.dos
25         cp $^ $@
27 ../include/curl/curlbuild.h: ../include/curl/curlbuild.h.dist
28         cp $^ $@
30 clean:
31         - rm -f $(OBJECTS)
33 realclean vclean: clean
34         - rm -f config.h depend.dj $(CURL_LIB)
36 -include depend.dj