aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-27 01:36:01 +0000
committerGunter Knauf <gk@gknw.de>2008-02-27 01:36:01 +0000
commit7513d29a48cfc7a899688912530a89620b75c93d (patch)
tree94d686927f54fc316c439683b81812a79822a0e4
parent97a41f3646e118865802b15ca2ebb738baf68216 (diff)
another small change to the makefiles to simplify rules.
-rw-r--r--lib/Makefile.netware8
-rw-r--r--src/Makefile.netware8
2 files changed, 6 insertions, 10 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 94d8fc91b..1a4610d85 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -80,6 +80,7 @@ PERL = perl
AWK = awk
YACC = bison -y
CP = cp -afv
+MKDIR = mkdir
# RM = rm -f
# 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:
@@ -258,11 +259,8 @@ distclean: clean
-$(RM) $(TARGET).$(LIBEXT) $(TARGET).nlm
-$(RM) certdata.txt ca-bundle.crt
-$(INSTDIR):
- @mkdir $@
-
-$(OBJDIR):
- @mkdir $@
+$(OBJDIR) $(INSTDIR):
+ @$(MKDIR) $@
$(TARGET).$(LIBEXT): $(OBJS)
@echo Creating $@
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 176d814c0..9468ba19b 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -80,6 +80,7 @@ PERL = perl
# http://www.gknw.net/development/prgtools/awk-20070501.zip
AWK = awk
CP = cp -afv
+MKDIR = mkdir
# RM = rm -f
# 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:
@@ -247,11 +248,8 @@ endif
distclean: clean
-$(RM) $(TARGET).nlm
-$(INSTDIR):
- @mkdir $@
-
-$(OBJDIR):
- @mkdir $@
+$(OBJDIR) $(INSTDIR):
+ @$(MKDIR) $@
$(TARGET).nlm: $(OBJS) $(OBJX) $(OBJDIR)/$(TARGET).def $(XDCDATA)
@echo Linking $@