mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
another small change to the makefiles to simplify rules.
This commit is contained in:
parent
97a41f3646
commit
7513d29a48
@ -80,6 +80,7 @@ PERL = perl
|
|||||||
AWK = awk
|
AWK = awk
|
||||||
YACC = bison -y
|
YACC = bison -y
|
||||||
CP = cp -afv
|
CP = cp -afv
|
||||||
|
MKDIR = mkdir
|
||||||
# RM = rm -f
|
# RM = rm -f
|
||||||
# if you want to mark the target as MTSAFE you will need a tool for
|
# if you want to mark the target as MTSAFE you will need a tool for
|
||||||
# generating the xdc data for the linker; here's a minimal tool:
|
# generating the xdc data for the linker; here's a minimal tool:
|
||||||
@ -258,11 +259,8 @@ distclean: clean
|
|||||||
-$(RM) $(TARGET).$(LIBEXT) $(TARGET).nlm
|
-$(RM) $(TARGET).$(LIBEXT) $(TARGET).nlm
|
||||||
-$(RM) certdata.txt ca-bundle.crt
|
-$(RM) certdata.txt ca-bundle.crt
|
||||||
|
|
||||||
$(INSTDIR):
|
$(OBJDIR) $(INSTDIR):
|
||||||
@mkdir $@
|
@$(MKDIR) $@
|
||||||
|
|
||||||
$(OBJDIR):
|
|
||||||
@mkdir $@
|
|
||||||
|
|
||||||
$(TARGET).$(LIBEXT): $(OBJS)
|
$(TARGET).$(LIBEXT): $(OBJS)
|
||||||
@echo Creating $@
|
@echo Creating $@
|
||||||
|
@ -80,6 +80,7 @@ PERL = perl
|
|||||||
# http://www.gknw.net/development/prgtools/awk-20070501.zip
|
# http://www.gknw.net/development/prgtools/awk-20070501.zip
|
||||||
AWK = awk
|
AWK = awk
|
||||||
CP = cp -afv
|
CP = cp -afv
|
||||||
|
MKDIR = mkdir
|
||||||
# RM = rm -f
|
# RM = rm -f
|
||||||
# if you want to mark the target as MTSAFE you will need a tool for
|
# if you want to mark the target as MTSAFE you will need a tool for
|
||||||
# generating the xdc data for the linker; here's a minimal tool:
|
# generating the xdc data for the linker; here's a minimal tool:
|
||||||
@ -247,11 +248,8 @@ endif
|
|||||||
distclean: clean
|
distclean: clean
|
||||||
-$(RM) $(TARGET).nlm
|
-$(RM) $(TARGET).nlm
|
||||||
|
|
||||||
$(INSTDIR):
|
$(OBJDIR) $(INSTDIR):
|
||||||
@mkdir $@
|
@$(MKDIR) $@
|
||||||
|
|
||||||
$(OBJDIR):
|
|
||||||
@mkdir $@
|
|
||||||
|
|
||||||
$(TARGET).nlm: $(OBJS) $(OBJX) $(OBJDIR)/$(TARGET).def $(XDCDATA)
|
$(TARGET).nlm: $(OBJS) $(OBJX) $(OBJDIR)/$(TARGET).def $(XDCDATA)
|
||||||
@echo Linking $@
|
@echo Linking $@
|
||||||
|
Loading…
Reference in New Issue
Block a user