sourcemod/extensions/curl/curl-src/lib/makefile.dj

38 lines
696 B
Plaintext
Raw Normal View History

2009-01-09 00:31:00 +01:00
#
# Adapted for djgpp2 / Watt-32 / DOS by
2013-03-18 01:55:59 +01:00
# Gisle Vanem <giva@bgnett.no>
2009-01-09 00:31:00 +01:00
#
2013-03-18 01:55:59 +01:00
# $Id: makefile.dj,v 1.13 2008-08-21 13:51:07 giva Exp $
2009-01-09 00:31:00 +01:00
2013-03-18 01:55:59 +01:00
DEPEND_PREREQ = config.h
2009-01-09 00:31:00 +01:00
TOPDIR = ..
include ../packages/DOS/common.dj
2013-03-18 01:55:59 +01:00
# Makefile.inc provides the CSOURCES and HHEADERS defines
2009-01-09 00:31:00 +01:00
include Makefile.inc
OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
CURL_LIB = libcurl.a
2013-03-18 01:55:59 +01:00
all: $(OBJ_DIR) ../include/curl/curlbuild.h config.h $(CURL_LIB)
2009-01-09 00:31:00 +01:00
$(CURL_LIB): $(OBJECTS)
ar rs $@ $?
2013-03-18 01:55:59 +01:00
config.h: config.dos
cp $^ $@
2009-01-09 00:31:00 +01:00
2013-03-18 01:55:59 +01:00
../include/curl/curlbuild.h: ../include/curl/curlbuild.h.dist
cp $^ $@
2009-01-09 00:31:00 +01:00
2013-03-18 01:55:59 +01:00
clean:
- rm -f $(OBJECTS)
2009-01-09 00:31:00 +01:00
realclean vclean: clean
2013-03-18 01:55:59 +01:00
- rm -f config.h depend.dj $(CURL_LIB)
2009-01-09 00:31:00 +01:00
-include depend.dj