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:
-$(RM) $(TARGET).$(LIBEXT) $(TARGET).nlm
-$(RM) certdata.txt ca-bundle.crt
-$(INSTDIR):
- @mkdir $@
-
-$(OBJDIR):
- @mkdir $@
+$(OBJDIR) $(INSTDIR):
+ @$(MKDIR) $@
$(TARGET).$(LIBEXT): $(OBJS)
@echo Creating $@
# 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:
distclean: clean
-$(RM) $(TARGET).nlm
-$(INSTDIR):
- @mkdir $@
-
-$(OBJDIR):
- @mkdir $@
+$(OBJDIR) $(INSTDIR):
+ @$(MKDIR) $@
$(TARGET).nlm: $(OBJS) $(OBJX) $(OBJDIR)/$(TARGET).def $(XDCDATA)
@echo Linking $@