diff --git a/ex00/Makefile b/ex00/Makefile index d26aee1..d5a5f64 100644 --- a/ex00/Makefile +++ b/ex00/Makefile @@ -23,14 +23,14 @@ $(OBJDIR)/%.o: %.c $(DEPS) $(CC) $(CFLAGS) -o $@ -c $< clean: - $(RM) $(wildcard $(OBJ)) - $(RM) $(wildcard $(INCDIR)/*~) - $(RM) $(wildcard *~) - $(RMDIR) $(wildcard $(OBJDIR)) + $(RM) $(OBJ) + $(RM) $(INCDIR)/*~ + $(RM) *~ + $(RMDIR) $(OBJDIR) fclean: clean - $(RM) $(wildcard $(BUILDDIR)/*) - $(RMDIR) $(wildcard $(BUILDDIR)) + $(RM) $(BUILDDIR)/* + $(RMDIR) $(BUILDDIR) install: all $(MKDIR) $(DESTDIR)$(PREFIX)/bin