X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2FMakefile.tpl;h=27cf9e54d00294fc0a53a717e4250066ad188efe;hb=b1488ae9beae34068d38d00e191b90ef0bf812f3;hp=542fd815c9f7a375adb8bc4c9967746ba838f519;hpb=9f6b2744216253fd5f7e7c8f1479abb42e2c3c68;p=tpg%2Facess2.git diff --git a/Usermode/Applications/Makefile.tpl b/Usermode/Applications/Makefile.tpl index 542fd815..27cf9e54 100644 --- a/Usermode/Applications/Makefile.tpl +++ b/Usermode/Applications/Makefile.tpl @@ -44,7 +44,7 @@ endif $(OBJ): $(_OBJPREFIX)%.o: %.c @echo [CC] -o $@ ifneq ($(_OBJPREFIX),) - @mkdir -p $(_OBJPREFIX) + @mkdir -p $(dir $@) endif @$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ @$(CC) -M -MT $@ $(CPPFLAGS) $< -o $(_OBJPREFIX)$*.dep