Subversion Repositories eduke32

Rev

Rev 7749 | Rev 7786 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7749 Rev 7782
Line 124... Line 124...
124
endef
124
endef
125
define RMDIR
125
define RMDIR
126
    rm -rf $(filter-out / *,$1)
126
    rm -rf $(filter-out / *,$1)
127
endef
127
endef
128
128
define CAT
-
 
129
    cat $1
-
 
130
endef
-
 
131
129
ifeq (0,$(HAVE_SH))
132
ifeq (0,$(HAVE_SH))
130
    DONT_FAIL := & rem
133
    DONT_FAIL := & rem
131
134
132
    define LL
135
    define LL
133
        dir $(subst /,\,$1)
136
        dir $(subst /,\,$1)
Line 140... Line 143...
140
    endef
143
    endef
141
    define RMDIR
144
    define RMDIR
142
        rmdir /s /q $(subst /,\,$(filter-out / *,$1)) $(DONT_PRINT_STDERR) $(DONT_FAIL)
145
        rmdir /s /q $(subst /,\,$(filter-out / *,$1)) $(DONT_PRINT_STDERR) $(DONT_FAIL)
143
    endef
146
    endef
144
147
    define CAT
-
 
148
        type $1
-
 
149
    endef
-
 
150
145
    # if, printf, exit, and ; are unavailable without sh
151
    # if, printf, exit, and ; are unavailable without sh
146
    PRETTY_OUTPUT := 0
152
    PRETTY_OUTPUT := 0
147
endif
153
endif
148
154
149
155