Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / lib / makefile.dj
bloba9db50dd960bb7e54813f758ab0e0b502cf8c036
2 #  Adapted for djgpp2 / Watt-32 / DOS by
3 #  Gisle Vanem <giva@bgnett.no>
5 # $Id: makefile.dj,v 1.1.1.1 2008-09-23 16:32:05 hoffman 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